From: Kalle Valo <kvalo@kernel.org>
To: Issam Hamdi <ih@simonwunderlich.de>
Cc: johannes@sipsolutions.net, linux-wireless@vger.kernel.org,
lkp@intel.com, llvm@lists.linux.dev,
mathias.kretschmer@fit.fraunhofer.de,
oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH] wifi: cfg80211: Set the channel definition for the different Wi-Fi modes when starting CAC
Date: Thu, 15 Aug 2024 11:53:24 +0300 [thread overview]
Message-ID: <87jzgiyxob.fsf@kernel.org> (raw)
In-Reply-To: <20240815075439.2198346-1-ih@simonwunderlich.de> (Issam Hamdi's message of "Thu, 15 Aug 2024 09:54:39 +0200")
Issam Hamdi <ih@simonwunderlich.de> writes:
> When starting CAC in a mode other than AP mode, it return a
> "WARNING: CPU: 0 PID: 63 at cfg80211_chandef_dfs_usable+0x20/0xaf [cfg80211]"
> caused by the chandef.chan being null at the end of CAC.
>
> Solution: Ensure the channel definition is set for the different modes
> when starting CAC to avoid getting a NULL 'chan' at the end of CAC.
>
> Call Trace:
> ? show_regs.part.0+0x14/0x16
> ? __warn+0x67/0xc0
> ? cfg80211_chandef_dfs_usable+0x20/0xaf [cfg80211]
> ? report_bug+0xa7/0x130
> ? exc_overflow+0x30/0x30
> ? handle_bug+0x27/0x50
> ? exc_invalid_op+0x18/0x60
> ? handle_exception+0xf6/0xf6
> ? exc_overflow+0x30/0x30
> ? cfg80211_chandef_dfs_usable+0x20/0xaf [cfg80211]
> ? exc_overflow+0x30/0x30
> ? cfg80211_chandef_dfs_usable+0x20/0xaf [cfg80211]
> ? regulatory_propagate_dfs_state.cold+0x1b/0x4c [cfg80211]
> ? cfg80211_propagate_cac_done_wk+0x1a/0x30 [cfg80211]
> ? process_one_work+0x165/0x280
> ? worker_thread+0x120/0x3f0
> ? kthread+0xc2/0xf0
> ? process_one_work+0x280/0x280
> ? kthread_complete_and_exit+0x20/0x20
> ? ret_from_fork+0x19/0x24
>
> Signed-off-by: Issam Hamdi <ih@simonwunderlich.de>
> Signed-off-by: Kretschmer Mathias <mathias.kretschmer@fit.fraunhofer.de>
When you submit a new version you should mark it as v2 and include a
change log what has changed from v1. More info:
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#changelog_missing
And please read the whole wiki page.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
next prev parent reply other threads:[~2024-08-15 8:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-12 12:09 [PATCH] cfg80211: Set the channel definition for the different Wi-Fi modes when starting CAC root
2024-08-12 17:49 ` kernel test robot
2024-08-12 20:14 ` kernel test robot
2024-08-13 11:12 ` Issam Hamdi
2024-08-15 6:35 ` Kalle Valo
2024-08-15 7:54 ` [PATCH] wifi: " Issam Hamdi
2024-08-15 8:53 ` Kalle Valo [this message]
2024-08-15 11:32 ` [PATCH v2] " Issam Hamdi
2024-08-15 17:42 ` Jeff Johnson
2024-08-16 14:24 ` [PATCH v3] " Issam Hamdi
2024-08-23 10:42 ` Johannes Berg
2024-08-26 9:51 ` Hamdi Issam
2024-08-29 9:09 ` [PATCH v4] " Issam Hamdi
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=87jzgiyxob.fsf@kernel.org \
--to=kvalo@kernel.org \
--cc=ih@simonwunderlich.de \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=mathias.kretschmer@fit.fraunhofer.de \
--cc=oe-kbuild-all@lists.linux.dev \
/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: link
Be 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.