From: Mohammed Shafi <mshajakhan@atheros.com>
To: "Björn Smedman" <bjorn.smedman@venatech.se>
Cc: Mohammed Shajakhan <Mohammed.Shajakhan@Atheros.com>,
"linville@tuxdriver.com" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Luis Rodriguez <Luis.Rodriguez@Atheros.com>
Subject: Re: [PATCH 1/1] ath9k: Update comments for not parsing DTIM period
Date: Wed, 9 Feb 2011 10:42:54 +0530 [thread overview]
Message-ID: <4D522256.70405@atheros.com> (raw)
In-Reply-To: <AANLkTimXCXW8mT8tPbSuCDpwyyD=NSRyBvFcC2Y+Nq7N@mail.gmail.com>
On Wednesday 09 February 2011 02:52 AM, Björn Smedman wrote:
> On Mon, Feb 7, 2011 at 4:38 PM, Mohammed Shafi Shajakhan
> <mshajakhan@atheros.com> wrote:
>
>> From: Mohammed Shafi Shajakhan<mshajakhan@atheros.com>
>>
>> Add few comments for not parsing DTIM period from mac80211
>>
>> Signed-off-by: Mohammed Shafi Shajakhan<mshajakhan@atheros.com>
>> ---
>> drivers/net/wireless/ath/ath9k/beacon.c | 5 +++--
>> 1 files changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c
>> index 87ba44c..fcb36ab 100644
>> --- a/drivers/net/wireless/ath/ath9k/beacon.c
>> +++ b/drivers/net/wireless/ath/ath9k/beacon.c
>> @@ -721,8 +721,9 @@ void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)
>> cur_conf->beacon_interval = 100;
>>
>> /*
>> - * Some times we dont parse dtim period from mac80211, in that case
>> - * use a default value
>> + * We don't parse dtim period from mac80211 during the driver
>> + * initialization as it breaks association with hidden-ssid
>> + * AP and it causes latency in roaming
>> */
>> if (cur_conf->dtim_period == 0)
>> cur_conf->dtim_period = 1;
>>
> I realize I'm not the perfect representative for the intended audience
> but I don't understand that comment at all. The previous one made
> sense to me, but the new one seems to refer to some logic somewhere
> else. In ath_beacon_config() I expect AP/IBSS logic but the comment
> seems to be about some special case for a STA vif associating with a
> hidden access point, no? I don't understand that special case either
> but that is more easily attributable to ignorance. :)
>
I also have don't have much idea. I saw that by parsing the DTIM
period(in init.c ,IEEE80211_HW_NEED_DTIM_PERIOD) from the mac80211 it
broke association with hidden-SSID AP .I shall dig deep into this in future.
thanks,
shafi
> Best regards,
>
> Björn
> .
>
>
next prev parent reply other threads:[~2011-02-09 5:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-07 15:38 [PATCH 1/1] ath9k: Update comments for not parsing DTIM period Mohammed Shafi Shajakhan
2011-02-08 21:22 ` Björn Smedman
2011-02-09 5:12 ` Mohammed Shafi [this message]
2011-02-09 14:38 ` Jouni Malinen
2011-02-09 14:55 ` Mohammed Shafi
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=4D522256.70405@atheros.com \
--to=mshajakhan@atheros.com \
--cc=Luis.Rodriguez@Atheros.com \
--cc=Mohammed.Shajakhan@Atheros.com \
--cc=bjorn.smedman@venatech.se \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/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;
as well as URLs for NNTP newsgroup(s).