commit | 2ce5ca415034e07cb1fd8056bcc1dbaa30e59055 | [log] [tgz] |
---|---|---|
author | Liangwei Dong <liangwei@codeaurora.org> | Sun Jan 19 14:38:38 2020 +0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Mon Mar 09 11:10:56 2020 -0700 |
tree | a79d7358c289259dfcfe4bf529c14d479c87ff83 | |
parent | 3aeabaaeab66a40b4011c22a15f014843c957f8f [diff] |
qcacmn: Add an API to get frequency from country,chan,opclass Add wlan regulatory API reg_country_chan_opclass_to_freq to calculate channel frequency given country, opclass and channel number. The API gets channel frequency from country's operating class table by opclass and channel number pair. If the driver can not find the pair, then try to find the frequency (MHz) by channel number only. Change-Id: I6a23a53e2e53e0b7c81b36f9f5c7794e9749c734 CRs-Fixed: 2605920