Lines Matching defs:width

2232 	chandef.width = sdata->vif.bss_conf.chandef.width;
3344 switch (chandef->width) {
3363 chandef->width != NL80211_CHAN_WIDTH_20_NOHT &&
3364 chandef->width != NL80211_CHAN_WIDTH_20)
3386 /* New channel width */
3387 switch (chandef->width) {
3430 switch (chandef->width) {
3433 * Convert 160 MHz channel width to new style as interop
3445 * Convert 80+80 MHz channel width to new style as interop
3516 switch (chandef->width) {
3525 /* Convert 160 MHz channel width to new style as interop
3594 switch (chandef->width) {
3743 new.width = NL80211_CHAN_WIDTH_80;
3751 new.width = NL80211_CHAN_WIDTH_160;
3754 new.width = NL80211_CHAN_WIDTH_80P80;
3761 new.width = NL80211_CHAN_WIDTH_160;
3766 new.width = NL80211_CHAN_WIDTH_80P80;
3794 chandef->width = NL80211_CHAN_WIDTH_20;
3797 chandef->width = NL80211_CHAN_WIDTH_40;
3800 chandef->width = NL80211_CHAN_WIDTH_80;
3804 chandef->width = NL80211_CHAN_WIDTH_160;
3809 chandef->width = NL80211_CHAN_WIDTH_80;
3814 chandef->width = NL80211_CHAN_WIDTH_320;
3819 chandef->width = NL80211_CHAN_WIDTH_160;
3821 chandef->width = NL80211_CHAN_WIDTH_80;
3915 he_chandef.width = NL80211_CHAN_WIDTH_20;
3918 he_chandef.width = NL80211_CHAN_WIDTH_40;
3921 he_chandef.width = NL80211_CHAN_WIDTH_80;
3924 he_chandef.width = NL80211_CHAN_WIDTH_80;
3929 he_chandef.width = NL80211_CHAN_WIDTH_160;
3932 he_chandef.width = NL80211_CHAN_WIDTH_80P80;
3937 if (he_chandef.width == NL80211_CHAN_WIDTH_160) {
3963 he_chandef.width,
3984 chandef->width = NL80211_CHAN_WIDTH_1;
3987 chandef->width = NL80211_CHAN_WIDTH_2;
3990 chandef->width = NL80211_CHAN_WIDTH_4;
3993 chandef->width = NL80211_CHAN_WIDTH_8;
3996 chandef->width = NL80211_CHAN_WIDTH_16;
4010 int ieee80211_parse_bitrates(enum nl80211_chan_width width,
4014 u32 rate_flags = ieee80211_chanwidth_rate_flags(width);
4015 int shift = ieee80211_chanwidth_get_shift(width);
4402 switch (c->width) {
4404 c->width = NL80211_CHAN_WIDTH_20_NOHT;
4408 c->width = NL80211_CHAN_WIDTH_20;
4419 c->width = NL80211_CHAN_WIDTH_40;
4424 c->width = NL80211_CHAN_WIDTH_80;
4434 c->width = NL80211_CHAN_WIDTH_80;
4444 c->width = NL80211_CHAN_WIDTH_160;
4450 c->width = NL80211_CHAN_WIDTH_20_NOHT;
4461 /* keep c->width */
4542 if (csa_settings->chandef.width == NL80211_CHAN_WIDTH_40) {
4572 if (csa_settings->chandef.width == NL80211_CHAN_WIDTH_80 ||
4573 csa_settings->chandef.width == NL80211_CHAN_WIDTH_80P80 ||
4574 csa_settings->chandef.width == NL80211_CHAN_WIDTH_160) {
4784 radar_detect |= BIT(link->reserved_chandef.width);
4798 BIT(link->conf->chandef.width);