From: Sujith Manoharan Date: Sun, 12 Aug 2012 10:56:21 +0530 Subject: [ath9k-devel] [PATCH 1/2] mac80211: add sta_update_rates callback In-Reply-To: <20120809093245.GG6767@ritirata.org> References: <1344474712-22561-1-git-send-email-ordex@autistici.org> <1344492897.4494.1.camel@jlt3.sipsolutions.net> <20120809093245.GG6767@ritirata.org> Message-ID: <20519.15997.154761.163636@gargle.gargle.HOWL> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Antonio Quartulli wrote: > mh, at the very beginning I thought it was not correct what you said, but indeed > we should be able to do the job in sta_rc_update(). > > But then why does the ath9k_htc driver implement ath9k_htc_update_rate() to > update the rate used to talk to the AP? Should it use sta_rc_update() as well? We didn't have this new callback back then, and sta_rc_update() is sufficient to fix this. Maybe with a new flag - IEEE80211_RC_BASIC_RATES_CHANGED. Sujith