qcacmn: Populate aSpectral capability based on BW
Some chipsets don't have the capability to run agile Spectral with 160/80p80 modes. For this populate separate agile Spectral capability for 160 MHz, 80p80 and non 160 MHz modes. CRs-Fixed: 2549664 Change-Id: I7ae961d3f2bba33d1d3f73679f162823d54b6717
This commit is contained in:

کامیت شده توسط
nshrivas

والد
d76b54a1c5
کامیت
2afe8e48fd
@@ -694,6 +694,25 @@ int wlan_cfg80211_spectral_scan_get_cap(struct wiphy *wiphy,
|
||||
if (ret)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (scaps->agile_spectral_cap_160) {
|
||||
int ret;
|
||||
|
||||
ret = nla_put_flag
|
||||
(skb,
|
||||
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CAP_AGILE_SPECTRAL_160);
|
||||
if (ret)
|
||||
goto fail;
|
||||
}
|
||||
if (scaps->agile_spectral_cap_80p80) {
|
||||
int ret;
|
||||
|
||||
ret = nla_put_flag
|
||||
(skb,
|
||||
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CAP_AGILE_SPECTRAL_80_80);
|
||||
if (ret)
|
||||
goto fail;
|
||||
}
|
||||
qal_devcfg_send_response((qdf_nbuf_t)skb);
|
||||
|
||||
return 0;
|
||||
|
مرجع در شماره جدید
Block a user