.duration = { \ CCK_DURATION_LIST(false), \ CCK_DURATION_LIST(true) \ } \ } /* * To enable sufficiently targeted rate sampling, MCS rates are divided into * groups, based on the number of streams and flags (HT40, SGI) that they * use. * * Sortorder has to be fixed for GROUP_IDX macro to be applicable: * HT40 -> SGI -> #streams */ const struct mcs_group minstrel_mcs_groups[] = { MCS_GROUP(1, 0, 0), MCS_GROUP(2, 0, 0), #if MINSTREL_MAX_STREAMS >= 3 MCS_GROUP(3, 0, 0), #endif MCS_GROUP(1, 1, 0), MCS_GROUP(2, 1, 0), #if MINSTREL_MAX_STREAMS >= 3 MCS_GROUP(3, 1, 0), #endif MCS_GROUP(1, 0, 1), MCS_GROUP(2, 0, 1), #if MINSTREL_MAX_STREAMS >= 3 MCS_GROUP(3, 0, 1),
static bool minstrel_vht_only = true; module_param(minstrel_vht_only, bool, 0644); MODULE_PARM_DESC(minstrel_vht_only, "Use only VHT rates when VHT is supported by sta."); #endif /* * To enable sufficiently targeted rate sampling, MCS rates are divided into * groups, based on the number of streams and flags (HT40, SGI) that they * use. * * Sortorder has to be fixed for GROUP_IDX macro to be applicable: * BW -> SGI -> #streams */ const struct mcs_group minstrel_mcs_groups[] = { MCS_GROUP(1, 0, BW_20), MCS_GROUP(2, 0, BW_20), #if MINSTREL_MAX_STREAMS >= 3 MCS_GROUP(3, 0, BW_20), #endif MCS_GROUP(1, 1, BW_20), MCS_GROUP(2, 1, BW_20), #if MINSTREL_MAX_STREAMS >= 3 MCS_GROUP(3, 1, BW_20), #endif MCS_GROUP(1, 0, BW_40), MCS_GROUP(2, 0, BW_40), #if MINSTREL_MAX_STREAMS >= 3 MCS_GROUP(3, 0, BW_40),
static bool minstrel_vht_only = true; module_param(minstrel_vht_only, bool, 0644); MODULE_PARM_DESC(minstrel_vht_only, "Use only VHT rates when VHT is supported by sta."); /* * To enable sufficiently targeted rate sampling, MCS rates are divided into * groups, based on the number of streams and flags (HT40, SGI) that they * use. * * Sortorder has to be fixed for GROUP_IDX macro to be applicable: * BW -> SGI -> #streams */ const struct mcs_group minstrel_mcs_groups[] = { MCS_GROUP(1, 0, BW_20, 5), MCS_GROUP(2, 0, BW_20, 4), MCS_GROUP(3, 0, BW_20, 4), MCS_GROUP(1, 1, BW_20, 5), MCS_GROUP(2, 1, BW_20, 4), MCS_GROUP(3, 1, BW_20, 4), MCS_GROUP(1, 0, BW_40, 4), MCS_GROUP(2, 0, BW_40, 4), MCS_GROUP(3, 0, BW_40, 4), MCS_GROUP(1, 1, BW_40, 4), MCS_GROUP(2, 1, BW_40, 4), MCS_GROUP(3, 1, BW_40, 4),