Utkarsh Bhatnagar 670079e829 qcacld-3.0: update phymode and width correctly for sap
In sap_goto_starting(), update phymode and channel width
correctly incase there is mismatch between phymode
and operating channel frequency.
For instance, in case when operating frequency is in
5 Ghz band, phymode 11g is incorrect and should be
changed to 11a. Also, if phymode is 11a for 2.4 ghz
band, it should be changed to 11g.

Also, if phymode is of legacy type such as 11a or 11g,
channel width should be restricted to 20 Mhz.
In case of 11n, channel width should be restricted to
40 Mhz, if it is more than that.

Also, update the width from vdev as if not updated
there can be a case where there are different bw
in vdev and sap context.

Change-Id: I3df06c0f5bb0f4eb5ffc77317efbeaa88d998427
CRs-Fixed: 2976056
2021-07-06 15:20:35 -07:00

This is CNSS WLAN Host Driver for products starting from iHelium
描述
无详细信息
自述文档 226 MiB
语言
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%