From: Johannes Berg <johannes@sipsolutions.net>
To: Krishna Chaitanya <chaitanya.mgit@gmail.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [Query] Update mac80211 BSS info from cfg8011_bss_inform_frame when hw_scan is enabled
Date: Sun, 17 Nov 2013 10:16:32 +0100 [thread overview]
Message-ID: <1384679792.14795.9.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <CABPxzYJAct6KtwqZY-DOgjf1wueSmeOU=iLku+gGeZ6ZVE6n9Q@mail.gmail.com> (sfid-20131115_205008_175326_68AE2C33)
On Sat, 2013-11-16 at 01:19 +0530, Krishna Chaitanya wrote:
> In those scenarios, the rate control module minstrel_ht called from
> prep_connection throws a warning (in rate_control_send_low)
> because "supp_rates" is not set, since scan results are updated
> through "cfg8011_bss_inform_frame" which doesn't call
> "ieee80211_bss_info_update'.
>
> How do we handle such scenarios? Does the cfg80211 need to
> update the bss information in mac80211?
No. What are you smoking?
You're not supposed to even call cfg80211_bss_inform_frame() from a
mac80211-based driver. Just report the RX frame properly.
johannes
next prev parent reply other threads:[~2013-11-17 9:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-15 19:49 [Query] Update mac80211 BSS info from cfg8011_bss_inform_frame when hw_scan is enabled Krishna Chaitanya
2013-11-17 9:16 ` Johannes Berg [this message]
2013-11-17 13:13 ` Krishna Chaitanya
2013-11-18 13:01 ` Johannes Berg
2013-11-18 16:22 ` Krishna Chaitanya
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=1384679792.14795.9.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=chaitanya.mgit@gmail.com \
--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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox