From: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> To: Johannes Berg <johannes@sipsolutions.net>, ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> Subject: [PATCH v3 7/9] ath11k: Add 6G scan dwell time parameter in scan request command Date: Tue, 26 May 2020 15:42:15 -0700 [thread overview] Message-ID: <20200526224217.11119-8-pradeepc@codeaurora.org> (raw) In-Reply-To: <20200526224217.11119-1-pradeepc@codeaurora.org> Add 6G scan active and passive dwell time parameter to scan request. Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> --- drivers/net/wireless/ath/ath11k/wmi.c | 4 ++++ drivers/net/wireless/ath/ath11k/wmi.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c index a6bbb3badd1f..239a336f55f4 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -1899,6 +1899,8 @@ void ath11k_wmi_start_scan_init(struct ath11k *ar, arg->dwell_time_active = 50; arg->dwell_time_active_2g = 0; arg->dwell_time_passive = 150; + arg->dwell_time_active_6g = 40; + arg->dwell_time_passive_6g = 30; arg->min_rest_time = 50; arg->max_rest_time = 500; arg->repeat_probe_time = 0; @@ -2045,6 +2047,8 @@ int ath11k_wmi_send_scan_start_cmd(struct ath11k *ar, cmd->dwell_time_active = params->dwell_time_active; cmd->dwell_time_active_2g = params->dwell_time_active_2g; cmd->dwell_time_passive = params->dwell_time_passive; + cmd->dwell_time_active_6g = params->dwell_time_active_6g; + cmd->dwell_time_passive_6g = params->dwell_time_passive_6g; cmd->min_rest_time = params->min_rest_time; cmd->max_rest_time = params->max_rest_time; cmd->repeat_probe_time = params->repeat_probe_time; diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h index 76c2da2c5db7..4937d02839fc 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.h +++ b/drivers/net/wireless/ath/ath11k/wmi.h @@ -3061,6 +3061,9 @@ struct wmi_start_scan_cmd { u32 num_vendor_oui; u32 scan_ctrl_flags_ext; u32 dwell_time_active_2g; + u32 dwell_time_active_6g; + u32 dwell_time_passive_6g; + u32 scan_start_offset; } __packed; #define WMI_SCAN_FLAG_PASSIVE 0x1 @@ -3127,6 +3130,8 @@ struct scan_req_params { u32 dwell_time_active; u32 dwell_time_active_2g; u32 dwell_time_passive; + u32 dwell_time_active_6g; + u32 dwell_time_passive_6g; u32 min_rest_time; u32 max_rest_time; u32 repeat_probe_time; -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> To: Johannes Berg <johannes@sipsolutions.net>, ath11k@lists.infradead.org Cc: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>, linux-wireless@vger.kernel.org Subject: [PATCH v3 7/9] ath11k: Add 6G scan dwell time parameter in scan request command Date: Tue, 26 May 2020 15:42:15 -0700 [thread overview] Message-ID: <20200526224217.11119-8-pradeepc@codeaurora.org> (raw) In-Reply-To: <20200526224217.11119-1-pradeepc@codeaurora.org> Add 6G scan active and passive dwell time parameter to scan request. Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> --- drivers/net/wireless/ath/ath11k/wmi.c | 4 ++++ drivers/net/wireless/ath/ath11k/wmi.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c index a6bbb3badd1f..239a336f55f4 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -1899,6 +1899,8 @@ void ath11k_wmi_start_scan_init(struct ath11k *ar, arg->dwell_time_active = 50; arg->dwell_time_active_2g = 0; arg->dwell_time_passive = 150; + arg->dwell_time_active_6g = 40; + arg->dwell_time_passive_6g = 30; arg->min_rest_time = 50; arg->max_rest_time = 500; arg->repeat_probe_time = 0; @@ -2045,6 +2047,8 @@ int ath11k_wmi_send_scan_start_cmd(struct ath11k *ar, cmd->dwell_time_active = params->dwell_time_active; cmd->dwell_time_active_2g = params->dwell_time_active_2g; cmd->dwell_time_passive = params->dwell_time_passive; + cmd->dwell_time_active_6g = params->dwell_time_active_6g; + cmd->dwell_time_passive_6g = params->dwell_time_passive_6g; cmd->min_rest_time = params->min_rest_time; cmd->max_rest_time = params->max_rest_time; cmd->repeat_probe_time = params->repeat_probe_time; diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h index 76c2da2c5db7..4937d02839fc 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.h +++ b/drivers/net/wireless/ath/ath11k/wmi.h @@ -3061,6 +3061,9 @@ struct wmi_start_scan_cmd { u32 num_vendor_oui; u32 scan_ctrl_flags_ext; u32 dwell_time_active_2g; + u32 dwell_time_active_6g; + u32 dwell_time_passive_6g; + u32 scan_start_offset; } __packed; #define WMI_SCAN_FLAG_PASSIVE 0x1 @@ -3127,6 +3130,8 @@ struct scan_req_params { u32 dwell_time_active; u32 dwell_time_active_2g; u32 dwell_time_passive; + u32 dwell_time_active_6g; + u32 dwell_time_passive_6g; u32 min_rest_time; u32 max_rest_time; u32 repeat_probe_time; -- 2.17.1 _______________________________________________ ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k
next prev parent reply other threads:[~2020-05-26 22:42 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-26 22:42 [PATCH v3 0/9] add 6GHz radio support in ath11k driver Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu 2020-05-26 22:42 ` [PATCH v3 1/9] cfg80211: Add helper function to identify 6GHz PSC channel Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu 2020-05-28 7:08 ` Johannes Berg 2020-05-28 7:08 ` Johannes Berg 2020-05-28 7:41 ` Pradeep Kumar Chitrapu 2020-05-28 7:41 ` Pradeep Kumar Chitrapu 2020-05-26 22:42 ` [PATCH v3 2/9] ath11k: add 6G frequency list supported by driver Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu 2020-05-26 22:42 ` [PATCH v3 3/9] ath11k: add support for 6GHz radio in driver Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu 2020-05-26 22:42 ` [PATCH v3 4/9] ath11k: Use freq instead of channel number in rx path Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu 2020-05-26 22:42 ` [PATCH v3 5/9] ath11k: extend peer_assoc_cmd for 6GHz band Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu 2020-05-26 22:42 ` [PATCH v3 6/9] ath11k: set psc channel flag when sending channel list to firmware Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu [this message] 2020-05-26 22:42 ` [PATCH v3 7/9] ath11k: Add 6G scan dwell time parameter in scan request command Pradeep Kumar Chitrapu 2020-05-26 22:42 ` [PATCH v3 8/9] ath11k: Send multiple scan_chan_list messages if required Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu 2020-05-26 22:42 ` [PATCH v3 9/9] ath11k: Add support for 6g scan hint Pradeep Kumar Chitrapu 2020-05-26 22:42 ` Pradeep Kumar Chitrapu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200526224217.11119-8-pradeepc@codeaurora.org \ --to=pradeepc@codeaurora.org \ --cc=ath11k@lists.infradead.org \ --cc=johannes@sipsolutions.net \ --cc=linux-wireless@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.