qcacmn: Add 6GHz support for chan/freq/band usage in mesh mode
Currently mesh mode uses channel numbering which is derived from APIs that don't support 6GHz channels numbering due to the overloading of 6GHz channels with 2.4GHz and 5GHz. Add support to obtain the correct channel number (and auxiliary information like band and frequency) through the new APIs that support 6GHz. Change-Id: Ib0b39ebae2a22bd6b2b5d17b9058c3c2100e0d59 CRs-Fixed: 2605229
此提交包含在:
@@ -2136,10 +2136,18 @@ static void dp_process_ppdu_stats_common_tlv(struct dp_pdev *pdev,
|
||||
if (freq != ppdu_desc->channel) {
|
||||
soc = pdev->soc;
|
||||
ppdu_desc->channel = freq;
|
||||
pdev->operating_channel.freq = freq;
|
||||
if (soc && soc->cdp_soc.ol_ops->freq_to_channel)
|
||||
pdev->operating_channel =
|
||||
soc->cdp_soc.ol_ops->freq_to_channel(soc->ctrl_psoc,
|
||||
pdev->pdev_id, freq);
|
||||
pdev->operating_channel.num =
|
||||
soc->cdp_soc.ol_ops->freq_to_channel(soc->ctrl_psoc,
|
||||
pdev->pdev_id,
|
||||
freq);
|
||||
|
||||
if (soc && soc->cdp_soc.ol_ops->freq_to_band)
|
||||
pdev->operating_channel.band =
|
||||
soc->cdp_soc.ol_ops->freq_to_band(soc->ctrl_psoc,
|
||||
pdev->pdev_id,
|
||||
freq);
|
||||
}
|
||||
|
||||
ppdu_desc->phy_mode = HTT_PPDU_STATS_COMMON_TLV_PHY_MODE_GET(*tag_buf);
|
||||
|
新增問題並參考
封鎖使用者