wcn36xx: add debug prints for sw_scan start/complete
Add some MAC debug prints for more easily demarcating a software scan when parsing logs. Signed-off-by: Benjamin Li <benl@squareup.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211027170306.555535-2-benl@squareup.com
This commit is contained in:
parent
27deb0f157
commit
df008741dd
1 changed files with 4 additions and 0 deletions
|
|
@ -707,6 +707,8 @@ static void wcn36xx_sw_scan_start(struct ieee80211_hw *hw,
|
|||
struct wcn36xx *wcn = hw->priv;
|
||||
struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif);
|
||||
|
||||
wcn36xx_dbg(WCN36XX_DBG_MAC, "sw_scan_start");
|
||||
|
||||
wcn->sw_scan = true;
|
||||
wcn->sw_scan_vif = vif;
|
||||
wcn->sw_scan_channel = 0;
|
||||
|
|
@ -721,6 +723,8 @@ static void wcn36xx_sw_scan_complete(struct ieee80211_hw *hw,
|
|||
{
|
||||
struct wcn36xx *wcn = hw->priv;
|
||||
|
||||
wcn36xx_dbg(WCN36XX_DBG_MAC, "sw_scan_complete");
|
||||
|
||||
/* ensure that any scan session is finished */
|
||||
wcn36xx_smd_finish_scan(wcn, HAL_SYS_MODE_SCAN, wcn->sw_scan_vif);
|
||||
wcn->sw_scan = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue