android_kernel_xiaomi_sm8350/core/hdd
Sourav Mohapatra 9243462d48 qcacld-3.0: Keep driver synced with proper dot11 mode as per INI
The INI param gDot11Mode is used to indicate the support that the driver
should advertise. Currently the behavior of the driver is out of sync
with the mode supported over the air and the mode provided to the
framework.

In one particular case, the driver sends VHT supported as
true to the framework even though the INI gDot11Mode is set to 11n only.
This results in the frames to be transmitted with 11n capabilities while
the mode advertised is different.

To rectify this, check for the dot11 mode before setting the
corresponding supported bit in the wiphy. The value being advertised
should be the intersection of gDot11Mode INI and the driver and
firmware capability.

Change-Id: Ic2f1558c72fc801df9d7ca6b3a0182619b93cf0d
CRs-Fixed: 2612620
2020-02-07 00:15:45 -08:00
..
inc qcacld-3.0: add support to customize dscp-to-up map table 2020-02-06 22:44:57 -08:00
src qcacld-3.0: Keep driver synced with proper dot11 mode as per INI 2020-02-07 00:15:45 -08:00