Lines Matching defs:width
176 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT &&
177 chandef->width != NL80211_CHAN_WIDTH_5 &&
178 chandef->width != NL80211_CHAN_WIDTH_10 &&
195 if (chandef->width != NL80211_CHAN_WIDTH_20 &&
196 chandef->width != NL80211_CHAN_WIDTH_40 &&
269 if (chandef.width == NL80211_CHAN_WIDTH_5 ||
270 chandef.width == NL80211_CHAN_WIDTH_10 ||
271 chandef.width == NL80211_CHAN_WIDTH_20_NOHT ||
272 chandef.width == NL80211_CHAN_WIDTH_20) {
277 chandef.width = NL80211_CHAN_WIDTH_20;
418 switch (sdata->u.ibss.chandef.width) {
429 chandef.width = sdata->u.ibss.chandef.width;
793 switch (ifibss->chandef.width) {
829 switch (ifibss->chandef.width) {
844 if (params.chandef.width != ifibss->chandef.width) {
846 "IBSS %pM received channel switch from incompatible channel width (%d MHz, width:%d, CF1/2: %d/%d MHz), disconnecting\n",
849 params.chandef.width,
864 "IBSS %pM switches to unsupported channel (%d MHz, width:%d, CF1/2: %d/%d MHz), disconnecting\n",
867 params.chandef.width,
1051 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20_NOHT &&
1052 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_5 &&
1053 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_10) {
1068 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20 &&
1069 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_40) {
1366 u32 center_freq, u32 width)
1372 if (width <= 20) {
1376 start_freq = center_freq - width / 2 + 10;
1377 end_freq = center_freq + width / 2 - 10;
1401 u32 width, cf1, cf2 = 0;
1403 switch (chandef->width) {
1405 width = 40;
1411 width = 80;
1414 width = 160;
1417 width = 20;
1423 n_chan = ibss_setup_channels(wiphy, channels, channels_max, cf1, width);
1428 width);
1787 radar_detect_width = BIT(params->chandef.width);