Hi Johannes, > -----Original Message----- > From: Johannes Berg [mailto:johannes@xxxxxxxxxxxxxxxx] > Sent: Tuesday, March 15, 2011 5:05 AM > To: Bing Zhao > Cc: linux-wireless@xxxxxxxxxxxxxxx; John W. Linville; Joe Perches; Nishant Sarmukadam; Amitkumar > Karwar; Kiran Divekar; Yogesh Powar; Marc Yang; Ramesh Radhakrishnan; Frank Huang > Subject: RE: [PATCH v2] wireless: mwifiex: initial commit for Marvell mwifiex driver > > Hi, > > > I have a question regarding the 11n 20MHz/40MHz channel width > > configuration: > > > > Since the 802.11n Draft 2.0 System Interoperability Test Plan v1.1 > > requires the default configuration being set to 20MHz, is there any > > way to set the channel width to 40MHz at run-time? > > In mac80211 have a module parameter "ieee80211_disable_40mhz_24ghz" > which, for backward compatibility reasons, actually defaults to false, > so you need to set it to true to get a compliant system. When a system > is integrated, this parameter can be set as default. Thanks for the info. > > I don't think it really is necessary to set this at runtime. > > I guess I see two options: > 1) move the module parameter to cfg80211, and check the sdata HT config > in the driver again when this is needed > 2) have your own module parameter like it I will try option 1) after the debugfs cleanups. Regards, Bing > > The first would be slightly more generic, but an OEM integrating a > device into their system and doing WFA testing will do device-specific > things anyway ... > > johannes > ÿô.nÇ·®+%˱é¥wÿº{.nÇ·¥{±ÿ«zW¬³ø¡Ü}©²ÆzÚj:+v¨þø®w¥þàÞ¨è&¢)ß«a¶Úÿûz¹ÞúÝjÿwèf