qtnfmac: add module param to configure DFS offload
Firmware may support DFS offload. However the final decision on whether to use it or not should be up to the user. So even if firmware supports DFS offload, it should be enabled only if user explicitly requests it. For this purpose introduce kernel param dfs_offload which is disabled by default. Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
e92b07a20b
commit
155b424c86
@@ -2454,7 +2454,7 @@ out:
|
||||
}
|
||||
|
||||
int qtnf_cmd_reg_notify(struct qtnf_wmac *mac, struct regulatory_request *req,
|
||||
bool slave_radar)
|
||||
bool slave_radar, bool dfs_offload)
|
||||
{
|
||||
struct wiphy *wiphy = priv_to_wiphy(mac);
|
||||
struct qtnf_bus *bus = mac->bus;
|
||||
@@ -2517,6 +2517,7 @@ int qtnf_cmd_reg_notify(struct qtnf_wmac *mac, struct regulatory_request *req,
|
||||
}
|
||||
|
||||
cmd->slave_radar = slave_radar;
|
||||
cmd->dfs_offload = dfs_offload;
|
||||
cmd->num_channels = 0;
|
||||
|
||||
for (band = 0; band < NUM_NL80211_BANDS; band++) {
|
||||
|
Reference in New Issue
Block a user