Loading
qcacmn: Add new API to get chan list with band mask for SAP
Add new API reg_get_band_from_cur_chan_list to build a chan list based on either primary/secondary current channel list as per requirement. The legacy API reg_get_band_channel_list uses primary current chan list to build a channel list. SAP needs to use a secondary current channel list. Add a new API for SAP, reg_get_secondary_band_channel_list for the same. Both these APIs will call new API reg_get_band_from_cur_chan_list by passing primary/secondary current chan list respectively. Change-Id: I1e5573ac9371fc3ce5dc2c387fbd1d47696a161a CRs-Fixed: 2947516