Lines Matching refs:uc
310 struct cfg80211_chan_def uc = sta->tdls_chandef; in ieee80211_tdls_chandef_vht_upgrade() local
322 if (uc.width >= max_width) in ieee80211_tdls_chandef_vht_upgrade()
331 if (abs(uc.chan->center_freq - centers_80mhz[i]) <= 30) { in ieee80211_tdls_chandef_vht_upgrade()
332 uc.center_freq1 = centers_80mhz[i]; in ieee80211_tdls_chandef_vht_upgrade()
333 uc.center_freq2 = 0; in ieee80211_tdls_chandef_vht_upgrade()
334 uc.width = NL80211_CHAN_WIDTH_80; in ieee80211_tdls_chandef_vht_upgrade()
338 if (!uc.center_freq1) in ieee80211_tdls_chandef_vht_upgrade()
342 while (uc.width > max_width || in ieee80211_tdls_chandef_vht_upgrade()
343 (uc.width > sta->tdls_chandef.width && in ieee80211_tdls_chandef_vht_upgrade()
344 !cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &uc, in ieee80211_tdls_chandef_vht_upgrade()
346 ieee80211_chandef_downgrade(&uc); in ieee80211_tdls_chandef_vht_upgrade()
348 if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) { in ieee80211_tdls_chandef_vht_upgrade()
350 sta->tdls_chandef.width, uc.width); in ieee80211_tdls_chandef_vht_upgrade()
356 sta->tdls_chandef = uc; in ieee80211_tdls_chandef_vht_upgrade()