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 &&
268 if (chandef.width == NL80211_CHAN_WIDTH_5 ||
269 chandef.width == NL80211_CHAN_WIDTH_10 ||
270 chandef.width == NL80211_CHAN_WIDTH_20_NOHT ||
271 chandef.width == NL80211_CHAN_WIDTH_20) {
276 chandef.width = NL80211_CHAN_WIDTH_20;
415 switch (sdata->u.ibss.chandef.width) {
426 chandef.width = sdata->u.ibss.chandef.width;
786 switch (ifibss->chandef.width) {
822 switch (ifibss->chandef.width) {
837 if (params.chandef.width != ifibss->chandef.width) {
839 "IBSS %pM received channel switch from incompatible channel width (%d MHz, width:%d, CF1/2: %d/%d MHz), disconnecting\n",
842 params.chandef.width,
857 "IBSS %pM switches to unsupported channel (%d MHz, width:%d, CF1/2: %d/%d MHz), disconnecting\n",
860 params.chandef.width,
1044 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20_NOHT &&
1045 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_5 &&
1046 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_10) {
1061 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20 &&
1062 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_40) {
1360 u32 center_freq, u32 width)
1366 if (width <= 20) {
1370 start_freq = center_freq - width / 2 + 10;
1371 end_freq = center_freq + width / 2 - 10;
1395 u32 width, cf1, cf2 = 0;
1397 switch (chandef->width) {
1399 width = 40;
1405 width = 80;
1408 width = 160;
1411 width = 20;
1417 n_chan = ibss_setup_channels(wiphy, channels, channels_max, cf1, width);
1422 width);
1784 radar_detect_width = BIT(params->chandef.width);