qcacmn: Add API to get 2GHz/5GHz freq range and wireless modes

Offload layer uses low and high 2GHz/5GHz freq ranges and chip
supported wireless modes to populate umac ic channel list.

Change-Id: I899edd83548d68e67659b3a9273ddaaaf740540b
CRs-Fixed: 2047212
This commit is contained in:
Baila, Shashikala Prabhu
2017-05-23 11:54:45 +05:30
committed by snandini
부모 4881d6d543
커밋 bc3efea885
8개의 변경된 파일88개의 추가작업 그리고 12개의 파일을 삭제

파일 보기

@@ -211,6 +211,9 @@ static void target_if_sptrl_tx_ops_register(
static
QDF_STATUS target_if_register_umac_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops)
{
/* call regulatory callback to register tx ops */
target_if_register_regulatory_tx_ops(tx_ops);
/* call umac callback to register legacy tx ops */
wlan_lmac_if_umac_tx_ops_register(tx_ops);
@@ -227,9 +230,6 @@ QDF_STATUS target_if_register_umac_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops)
target_if_dfs_tx_ops_register(tx_ops);
/* call regulatory callback to register tx ops */
target_if_register_regulatory_tx_ops(tx_ops);
target_if_son_tx_ops_register(tx_ops);
target_if_tdls_tx_ops_register(tx_ops);

파일 보기

@@ -148,6 +148,9 @@ QDF_STATUS target_if_register_regulatory_tx_ops(struct wlan_lmac_if_tx_ops
tgt_if_regulatory_unregister_master_list_handler;
reg_ops->set_country_code = tgt_if_regulatory_set_country_code;
reg_ops->fill_umac_legacy_chanlist = NULL;
return QDF_STATUS_SUCCESS;
}