Search Linux Wireless

rtl8192cu regulatory domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone, I'm using backports20140417 on fedora 20 running
kernel 3.14; I have an rtl8192cu-based wifi card (AWUS036NHR) I bought
from amazon italy; I usually had to 'pimp' the CH1_11 rule definition
in regd.c to be able to use channels 12-13 here in italy, however this
morning i stumbled accross this patch:

Signed-off-by John Williams <john@xxxxxxxxxxxxx>

--- linux-3.2/drivers/net/wireless/rtlwifi/regd.c.orig
+++ linux-3.2/drivers/net/wireless/rtlwifi/regd.c
@@ -405,7 +405,7 @@
  return -EINVAL;

  /* init country_code from efuse channel plan */
- rtlpriv->regd.country_code = rtlpriv->efuse.channel_plan;
+ rtlpriv->regd.country_code = rtlpriv->efuse.eeprom_channelplan;

  RT_TRACE(rtlpriv, COMP_REGD, DBG_TRACE,
  (KERN_DEBUG "rtl: EEPROM regdomain: 0x%0x\n",

--

I just dropped by to say that it works and I'm no more stuck into
channels 1-11 nor into hacky-whacky ugly workarounds; maybe this patch
could be pushed into production.


Credits: I found this patch in a ml message by Mr. John Williams dated
Mon, 5 Mar 2012 21:39:56 +0000

Thank you all for your work :)

Alessandro Lannocca
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux