qca-wifi: Add a command to enable additional triplets
The requirement is to provide a user configurable command to enable 6G additional operating triplets within the Country IE. The user can set the maximum bandwidth by applying the following algorithm: 1) To enable only opclass 131, set the maximum bandwidth value as 20. 2) To enable upto opclass 132, set the maximum bandwidth value as 40. 3) To enable upto opclass 133, set the maximum bandwidth value as 80. 4) To enable upto opclass 134, set the maximum bandwidth value as 160. The above requirement is configurable via a cfg80211tool command: cfg80211tool wifix enable_additional_triplets <max_bw value> Command to fetch the max_bw set: cfg80211tool wifix g_enable_additional_triplets. Change-Id: I38d60afa5c6fd888b418eec29448bca661554659 CRs-Fixed: 2731637
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

szülő
8ca90b589a
commit
5173da1af5
@@ -1201,6 +1201,8 @@ enum _ol_ath_param_t {
|
||||
OL_ATH_PARAM_NO_BACKHAUL_RADIO = 445,
|
||||
/* MAX_PHY feature flag per PDEV */
|
||||
OL_ATH_PARAM_RPT_MAX_PHY = 446,
|
||||
/* Enable additional operating triplets in the Country IE */
|
||||
OL_ATH_PARAM_ENABLE_ADDITIONAL_TRIPLETS = 447,
|
||||
|
||||
};
|
||||
|
||||
@@ -3097,6 +3099,10 @@ struct vendor_commands radio_vendor_cmds[] = {
|
||||
OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_NO_BACKHAUL_RADIO, SET_PARAM, 1},
|
||||
{"g_nobckhlradio",
|
||||
OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_NO_BACKHAUL_RADIO, GET_PARAM, 0},
|
||||
{"enable_additional_triplets",
|
||||
OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_ENABLE_ADDITIONAL_TRIPLETS, SET_PARAM, 1},
|
||||
{"g_enable_additional_triplets",
|
||||
OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_ENABLE_ADDITIONAL_TRIPLETS, GET_PARAM, 0},
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user