android_kernel_samsung_sm86.../target_if/wifi_pos
Ashish Kumar Dhanotiya dc2d337116 qcacmn: Fill correct max BW to set channel params
Currently wifi positioning api to update channel bandwidth
info is invoking regulatory component api to set the channel
params with BW as CH_WIDTH_MAX, because of which regulatory
component is returning the maximum BW supported for the current
regdomain which is 160MHz. If target does not support 160MHz in
that case it may lead to undefined behavior.

To address this issue, pass max supported BW by target as
argument to regulatory component so that regulatory component
does not return the BW greater then the target supported BW.

CRs-Fixed: 2730665
Change-Id: I6051336ab2f3ea902a70ed80290e5a5f060de5b9
2020-08-15 16:56:10 -07:00
..
inc qcacmn: Fill correct max BW to set channel params 2020-08-15 16:56:10 -07:00
src qcacmn: Fill correct max BW to set channel params 2020-08-15 16:56:10 -07:00