qcacmn: Add 6GHz support for chan/freq/band usage in dfs/reg

Currently the conversion APIs used doesn't take into account
the overloading of channel numbers between 6GHz, 5GHz and 2.4GHz
bands.

Add support to obtain the correct channel number (and auxiliary
information like band and frequency) through the new APIs that
support all three bands.

Change-Id: Ief417f14620bc2fc02d76fea3642b6fbb9615916
CRs-Fixed: 2610378
Tento commit je obsažen v:
Aditya Sathish
2020-01-29 16:09:00 +05:30
odevzdal nshrivas
rodič 041409f98f
revize 14e285e95c
2 změnil soubory, kde provedl 7 přidání a 3 odebrání

Zobrazit soubor

@@ -774,6 +774,8 @@ qdf_freq_t wlan_reg_chan_band_to_freq(struct wlan_objmgr_pdev *pdev,
return reg_chan_band_to_freq(pdev, chan, band_mask);
}
qdf_export_symbol(wlan_reg_chan_band_to_freq);
bool wlan_reg_is_49ghz_freq(qdf_freq_t freq)
{
return reg_is_49ghz_freq(freq);