From: paolo del bene Date: Tue, 27 Jan 2009 10:43:54 +0100 Subject: [ath9k-devel] ath9k-devel Digest, Vol 7, Issue 58 In-Reply-To: References: Message-ID: <7dc12d290901270143g3c5f774dg2f2674ac839c6e73@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org bandwidth 2400-2484 2400-2440 (hamradio station) 2440-2450 (hamradio station) so the bandwidth 2412-2484 can be used in little part starting from 2462 to 2484. it means that you can use from channel 12 to channel 14 or you can unlock via software the card and to use all the frequencies that are in the middle in 2400-2440 and 2440-2450 there are services of hamradio station, but this could be more less important, the fact is that there are artificial sat, traffic in single side band, cw, fm, ...... http://iaru.org there is not a good regulamentation of frequencies, but i invite to take care, why you could give disturb to the uplink and downlink of satellite that are in the space and turn any 90 minutes or you can give disturb to satellite that are in geostationary position. so please use good cables for routers wi-fi, amphenol connectors, antennas with 20db of gain and don't uses the rf amplifiers that are source of noise, disturb of frequencies and are not sync, async and this means that could damage the rf module and the result is that you take the router and put in the trash. bye bye Pavlz 2009/1/27, ath9k-devel-request at lists.ath9k.org : > Send ath9k-devel mailing list submissions to > ath9k-devel at lists.ath9k.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > or, via email, send a message with subject or body 'help' to > ath9k-devel-request at lists.ath9k.org > > You can reach the person managing the list at > ath9k-devel-owner at lists.ath9k.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ath9k-devel digest..." > > > Today's Topics: > > 1. Re: ath9k regulatory (Zoltan Devai) > 2. Re: ath9k regulatory (Luis R. Rodriguez) > 3. ath9k regulatory (Lars Hardy) > 4. Re: ath9k regulatory (Luis R. Rodriguez) > 5. Reading OFDM channel estimate (derham at francetelecom.co.jp) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 27 Jan 2009 00:37:19 +0100 > From: Zoltan Devai > Subject: Re: [ath9k-devel] ath9k regulatory > To: "Luis R. Rodriguez" > Cc: "ath9k-devel at lists.ath9k.org" > Message-ID: > <5b7270f40901261537r6feaf502p5e8167b64b8bb401@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Whoops, here's the CC for the list. > > 2009/1/26 Luis R. Rodriguez >> On Mon, Jan 26, 2009 at 10:08:55AM -0800, Zoltan Devai wrote: >> > 2009/1/26 Luis R. Rodriguez >> > > >> > On Mon, Jan 26, 2009 at 05:35:13AM -0800, Zoltan Devai wrote: >> > > I'm using a TP-Link TL-WN861N card. What could be the reason that >> > > channels 12 and 13 are >> > > not allowed ? >> > > Using compat-wireless 2009-01-25. > > Thanks for the explanation on the regulatory. > >> > Is there a way to give the users preference priority ? >> >> The user can always specifify the regulatory domain that is the default. >> In >> ath9k's case the EEPROM is always respected though. > >> > * 2462 MHz [11] (20.0 dBm) >> > * 2467 MHz [12] (disabled) >> > * 2472 MHz [13] (disabled) >> > * 2484 MHz [14] (disabled) >> >> Yeap, this is by design -- your card has the "US" regulatory domain >> and as such has those channels are disabled and you cannot enable them. >> Reason for this is the device was not calibrated to operate on those >> channels and as such proper behaviour cannot be guaranteed. For cards >> where proper behaviour can be guaranteed you will be able to enable >> those channels like on the b43 driver. > > The EEP_REG_0 is actually 0x0000 on my card and the driver defaults US for > that. > Is that a valid value to put in the EEPROM ? Or was just the card > manufacturer sloppy and it rather means "don't care", in which case the > driver > should enable all channels ? > > Cheers, > Zoltan > > > ------------------------------ > > Message: 2 > Date: Mon, 26 Jan 2009 15:53:24 -0800 > From: "Luis R. Rodriguez" > Subject: Re: [ath9k-devel] ath9k regulatory > To: Zoltan Devai > Cc: "ath9k-devel at lists.ath9k.org" > Message-ID: > <43e72e890901261553t2ab2b940s5ccb145b1f8563ef@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > On Mon, Jan 26, 2009 at 3:37 PM, Zoltan Devai wrote: >> Whoops, here's the CC for the list. >> >> 2009/1/26 Luis R. Rodriguez >>> On Mon, Jan 26, 2009 at 10:08:55AM -0800, Zoltan Devai wrote: >>> > 2009/1/26 Luis R. Rodriguez >>> > > >>> > On Mon, Jan 26, 2009 at 05:35:13AM -0800, Zoltan Devai wrote: >>> > > I'm using a TP-Link TL-WN861N card. What could be the reason that >>> > > channels 12 and 13 are >>> > > not allowed ? >>> > > Using compat-wireless 2009-01-25. >> >> Thanks for the explanation on the regulatory. >> >>> > Is there a way to give the users preference priority ? >>> >>> The user can always specifify the regulatory domain that is the default. >>> In >>> ath9k's case the EEPROM is always respected though. >> >>> > * 2462 MHz [11] (20.0 dBm) >>> > * 2467 MHz [12] (disabled) >>> > * 2472 MHz [13] (disabled) >>> > * 2484 MHz [14] (disabled) >>> >>> Yeap, this is by design -- your card has the "US" regulatory domain >>> and as such has those channels are disabled and you cannot enable them. >>> Reason for this is the device was not calibrated to operate on those >>> channels and as such proper behaviour cannot be guaranteed. For cards >>> where proper behaviour can be guaranteed you will be able to enable >>> those channels like on the b43 driver. >> >> The EEP_REG_0 is actually 0x0000 on my card and the driver defaults US for >> that. >> Is that a valid value to put in the EEPROM ? > > As per this implementation -- yes, it seems that is the case. I am > however not sure how common this is. I'll try to find out. > >> Or was just the card >> manufacturer sloppy and it rather means "don't care", in which case the >> driver >> should enable all channels ? > > It really depends on who manufactured the card and their decision on > how to support the device and how the vendor documents this for them. > The driver just follows this architectural design. That is why > regulatory is such a pain in the ass -- vendor involvement is key. > > Luis > > > ------------------------------ > > Message: 3 > Date: Tue, 27 Jan 2009 03:20:04 +0100 > From: Lars Hardy > Subject: [ath9k-devel] ath9k regulatory > To: ath9k-devel at lists.ath9k.org > Message-ID: <497E6F54.60500@gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi. > Im using a Athereos mini-pci card (AR5416-AC1A VL4668.1C). (in a mini > pci/pci adapter) > Its used with hostap as my AP. > > After the resent regulatory domain changes, I cannot enable 802.11a > anymore. > So it seems that its the same issue, its the eeprom on the card/.?/ > > Here is my dmesg utput after modprobe / iw reg set NO: > > cfg80211: Calling CRDA to update world regulatory domain > ath9k: 0.1 > ath9k 0000:01:0a.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18 > ath9k: Country alpha2 being used: 00 > Regpair detected: 0x64 > wmaster0 (ath9k): not using net_device_ops yet > phy0: Selected rate control algorithm 'ath9k_rate_control' > wlan0 (ath9k): not using net_device_ops yet > Registered led device: ath9k-phy0:radio > Registered led device: ath9k-phy0:assoc > Registered led device: ath9k-phy0:tx > Registered led device: ath9k-phy0:rx > phy0: Atheros AR5416 MAC/BB Rev:2 AR5133 RF Rev:81: mem=0xf8220000, irq=18 > cfg80211: Calling CRDA for country: NO > ath9k 0000:01:0a.0: PCI INT A disabled > ath9k: Driver unloaded > cfg80211: Calling CRDA to update world all-purpose > ath9k: 0.1 > ath9k 0000:01:0a.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18 > ath9k: Country alpha2 being used: 00 > Regpair detected: 0x64 > wmaster0 (ath9k): not using net_device_ops yet > phy0: Selected rate control algorithm 'ath9k_rate_control' > wlan0 (ath9k): not using net_device_ops yet > Registered led device: ath9k-phy0:radio > Registered led device: ath9k-phy0:assoc > Registered led device: ath9k-phy0:tx > Registered led device: ath9k-phy0:rx > phy0: Atheros AR5416 MAC/BB Rev:2 AR5133 RF Rev:81: mem=0xf81c0000, irq=18 > > root at UbuntuRuter:/usr/src/wireless-testing# iw --debug reg set NO > -- Debug: Received Message: > -------------------------- BEGIN NETLINK MESSAGE > --------------------------- > [HEADER] 16 octets > .nlmsg_len = 36 > .nlmsg_type = 2 > .nlmsg_flags = 0 <> > .nlmsg_seq = 1233019334 > .nlmsg_pid = 5516 > [ERRORMSG] 20 octets > .error = 0 "Success" > [ORIGINAL MESSAGE] 16 octets > .nlmsg_len = 16 > .nlmsg_type = 26 <0x1a> > .nlmsg_flags = 5 > .nlmsg_seq = 1233019334 > .nlmsg_pid = 5516 > --------------------------- END NETLINK MESSAGE > --------------------------- > root at UbuntuRuter:/usr/src/wireless-testing# iw list > Wiphy phy0 > Band 1: > HT capabilities: 0x104e > * 20/40 MHz operation > * SM PS disabled > * 40 MHz short GI > * max A-MSDU len 3839 > * DSSS/CCK 40 MHz > HT A-MPDU factor: 0x0003 (65535 bytes) > HT A-MPDU density: 0x0006 (8 usec) > HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00 > Frequencies: > * 2412 MHz [1] (20.0 dBm) > * 2417 MHz [2] (20.0 dBm) > * 2422 MHz [3] (20.0 dBm) > * 2427 MHz [4] (20.0 dBm) > * 2432 MHz [5] (20.0 dBm) > * 2437 MHz [6] (20.0 dBm) > * 2442 MHz [7] (20.0 dBm) > * 2447 MHz [8] (20.0 dBm) > * 2452 MHz [9] (20.0 dBm) > * 2457 MHz [10] (20.0 dBm) > * 2462 MHz [11] (20.0 dBm) > * 2467 MHz [12] (disabled) > * 2472 MHz [13] (disabled) > * 2484 MHz [14] (disabled) > Bitrates: > * 1.0 Mbps > * 2.0 Mbps > * 5.5 Mbps > * 11.0 Mbps > * 6.0 Mbps > * 9.0 Mbps > * 12.0 Mbps > * 18.0 Mbps > * 24.0 Mbps > * 36.0 Mbps > * 48.0 Mbps > * 54.0 Mbps > Band 2: > HT capabilities: 0x104e > * 20/40 MHz operation > * SM PS disabled > * 40 MHz short GI > * max A-MSDU len 3839 > * DSSS/CCK 40 MHz > HT A-MPDU factor: 0x0003 (65535 bytes) > HT A-MPDU density: 0x0006 (8 usec) > HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00 > Frequencies: > * 5180 MHz [36] (30.0 dBm) (passive scanning, no > IBSS) > * 5200 MHz [40] (30.0 dBm) (passive scanning, no > IBSS) > * 5220 MHz [44] (30.0 dBm) (passive scanning, no > IBSS) > * 5240 MHz [48] (30.0 dBm) (passive scanning, no > IBSS) > * 5260 MHz [52] (30.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5280 MHz [56] (30.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5300 MHz [60] (30.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5320 MHz [64] (30.0 dBm) (passive scanning, no > IBSS, radar detection) > * 5500 MHz [100] (disabled) > * 5520 MHz [104] (disabled) > * 5540 MHz [108] (disabled) > * 5560 MHz [112] (disabled) > * 5580 MHz [116] (disabled) > * 5600 MHz [120] (disabled) > * 5620 MHz [124] (disabled) > * 5640 MHz [128] (disabled) > * 5660 MHz [132] (disabled) > * 5680 MHz [136] (disabled) > * 5700 MHz [140] (disabled) > * 5745 MHz [149] (30.0 dBm) (passive scanning, > no IBSS) > * 5765 MHz [153] (30.0 dBm) (passive scanning, > no IBSS) > * 5785 MHz [157] (30.0 dBm) (passive scanning, > no IBSS) > * 5805 MHz [161] (30.0 dBm) (passive scanning, > no IBSS) > * 5825 MHz [165] (30.0 dBm) (passive scanning, > no IBSS) > Bitrates: > * 6.0 Mbps > * 9.0 Mbps > * 12.0 Mbps > * 18.0 Mbps > * 24.0 Mbps > * 36.0 Mbps > * 48.0 Mbps > * 54.0 Mbps > Supported interface modes: > * IBSS > * Station > * AP > * AP(VLAN) > * Monitor > root at UbuntuRuter:/usr/src/wireless-testing# > > > > > > ------------------------------ > > Message: 4 > Date: Mon, 26 Jan 2009 18:42:11 -0800 > From: "Luis R. Rodriguez" > Subject: Re: [ath9k-devel] ath9k regulatory > To: Lars Hardy > Cc: "ath9k-devel at lists.ath9k.org" > Message-ID: <20090127024211.GF19242@tesla> > Content-Type: text/plain; charset="us-ascii" > > On Mon, Jan 26, 2009 at 06:20:04PM -0800, Lars Hardy wrote: >> Hi. >> Im using a Athereos mini-pci card (AR5416-AC1A VL4668.1C). (in a mini >> pci/pci adapter) >> Its used with hostap as my AP. >> >> After the resent regulatory domain changes, I cannot enable 802.11a >> anymore. > > I see 11A enabled, do you mean you cannot use AP mode in 5 GHz anymore? > >> So it seems that its the same issue, its the eeprom on the card/.?/ >> >> Here is my dmesg utput after modprobe / iw reg set NO: >> >> cfg80211: Calling CRDA to update world regulatory domain >> ath9k: 0.1 >> ath9k 0000:01:0a.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ >> 18 >> ath9k: Country alpha2 being used: 00 >> Regpair detected: 0x64 > > I just revised your regulatory domain settings and they are correct. > >> wmaster0 (ath9k): not using net_device_ops yet >> phy0: Selected rate control algorithm 'ath9k_rate_control' >> wlan0 (ath9k): not using net_device_ops yet >> Registered led device: ath9k-phy0:radio >> Registered led device: ath9k-phy0:assoc >> Registered led device: ath9k-phy0:tx >> Registered led device: ath9k-phy0:rx >> phy0: Atheros AR5416 MAC/BB Rev:2 AR5133 RF Rev:81: mem=0xf8220000, irq=18 >> cfg80211: Calling CRDA for country: NO >> ath9k 0000:01:0a.0: PCI INT A disabled >> ath9k: Driver unloaded >> cfg80211: Calling CRDA to update world all-purpose >> ath9k: 0.1 >> ath9k 0000:01:0a.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ >> 18 >> ath9k: Country alpha2 being used: 00 >> Regpair detected: 0x64 >> wmaster0 (ath9k): not using net_device_ops yet >> phy0: Selected rate control algorithm 'ath9k_rate_control' >> wlan0 (ath9k): not using net_device_ops yet >> Registered led device: ath9k-phy0:radio >> Registered led device: ath9k-phy0:assoc >> Registered led device: ath9k-phy0:tx >> Registered led device: ath9k-phy0:rx >> phy0: Atheros AR5416 MAC/BB Rev:2 AR5133 RF Rev:81: mem=0xf81c0000, irq=18 >> >> root at UbuntuRuter:/usr/src/wireless-testing# iw --debug reg set NO >> -- Debug: Received Message: >> -------------------------- BEGIN NETLINK MESSAGE >> --------------------------- >> [HEADER] 16 octets >> .nlmsg_len = 36 >> .nlmsg_type = 2 >> .nlmsg_flags = 0 <> >> .nlmsg_seq = 1233019334 >> .nlmsg_pid = 5516 >> [ERRORMSG] 20 octets >> .error = 0 "Success" >> [ORIGINAL MESSAGE] 16 octets >> .nlmsg_len = 16 >> .nlmsg_type = 26 <0x1a> >> .nlmsg_flags = 5 >> .nlmsg_seq = 1233019334 >> .nlmsg_pid = 5516 >> --------------------------- END NETLINK MESSAGE >> --------------------------- > > Note that for ath9k users _help_ compliance, not override it. > >> root at UbuntuRuter:/usr/src/wireless-testing# iw list >> Wiphy phy0 >> Band 1: >> HT capabilities: 0x104e >> * 20/40 MHz operation >> * SM PS disabled >> * 40 MHz short GI >> * max A-MSDU len 3839 >> * DSSS/CCK 40 MHz >> HT A-MPDU factor: 0x0003 (65535 bytes) >> HT A-MPDU density: 0x0006 (8 usec) >> HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 >> 00 >> Frequencies: >> * 2412 MHz [1] (20.0 dBm) >> * 2417 MHz [2] (20.0 dBm) >> * 2422 MHz [3] (20.0 dBm) >> * 2427 MHz [4] (20.0 dBm) >> * 2432 MHz [5] (20.0 dBm) >> * 2437 MHz [6] (20.0 dBm) >> * 2442 MHz [7] (20.0 dBm) >> * 2447 MHz [8] (20.0 dBm) >> * 2452 MHz [9] (20.0 dBm) >> * 2457 MHz [10] (20.0 dBm) >> * 2462 MHz [11] (20.0 dBm) >> * 2467 MHz [12] (disabled) >> * 2472 MHz [13] (disabled) >> * 2484 MHz [14] (disabled) >> Bitrates: >> * 1.0 Mbps >> * 2.0 Mbps >> * 5.5 Mbps >> * 11.0 Mbps >> * 6.0 Mbps >> * 9.0 Mbps >> * 12.0 Mbps >> * 18.0 Mbps >> * 24.0 Mbps >> * 36.0 Mbps >> * 48.0 Mbps >> * 54.0 Mbps >> Band 2: >> HT capabilities: 0x104e >> * 20/40 MHz operation >> * SM PS disabled >> * 40 MHz short GI >> * max A-MSDU len 3839 >> * DSSS/CCK 40 MHz >> HT A-MPDU factor: 0x0003 (65535 bytes) >> HT A-MPDU density: 0x0006 (8 usec) >> HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 >> 00 >> Frequencies: >> * 5180 MHz [36] (30.0 dBm) (passive scanning, no >> IBSS) >> * 5200 MHz [40] (30.0 dBm) (passive scanning, no >> IBSS) >> * 5220 MHz [44] (30.0 dBm) (passive scanning, no >> IBSS) >> * 5240 MHz [48] (30.0 dBm) (passive scanning, no >> IBSS) > > You should be able to use the above. > >> * 5260 MHz [52] (30.0 dBm) (passive scanning, no >> IBSS, radar detection) >> * 5280 MHz [56] (30.0 dBm) (passive scanning, no >> IBSS, radar detection) >> * 5300 MHz [60] (30.0 dBm) (passive scanning, no >> IBSS, radar detection) >> * 5320 MHz [64] (30.0 dBm) (passive scanning, no >> IBSS, radar detection) > > These require radar detection which is not yet implemented. > >> * 5500 MHz [100] (disabled) >> * 5520 MHz [104] (disabled) >> * 5540 MHz [108] (disabled) >> * 5560 MHz [112] (disabled) >> * 5580 MHz [116] (disabled) >> * 5600 MHz [120] (disabled) >> * 5620 MHz [124] (disabled) >> * 5640 MHz [128] (disabled) >> * 5660 MHz [132] (disabled) >> * 5680 MHz [136] (disabled) >> * 5700 MHz [140] (disabled) > > These are disabled. > >> * 5745 MHz [149] (30.0 dBm) (passive scanning, >> no IBSS) >> * 5765 MHz [153] (30.0 dBm) (passive scanning, >> no IBSS) >> * 5785 MHz [157] (30.0 dBm) (passive scanning, >> no IBSS) >> * 5805 MHz [161] (30.0 dBm) (passive scanning, >> no IBSS) >> * 5825 MHz [165] (30.0 dBm) (passive scanning, >> no IBSS) > > you should also be able to use the above channels as well. > > If you are having issues with the above 5 GHz channels on AP mode it may be > that > hostapd doesn't let you use channels with passive scan requirements, not > sure will have to check. Try using channel 40 for example, see how that > goes. > > Luis > > > ------------------------------ > > Message: 5 > Date: Tue, 27 Jan 2009 17:32:45 +0900 > From: > Subject: [ath9k-devel] Reading OFDM channel estimate > To: > Message-ID: <002401c98059$d45eb130$caf3c10a@rd.francetelecom.fr> > Content-Type: text/plain; charset="us-ascii" > > Hello > > I am interested to know if it is possible to read the OFDM channel estimate > in software, either using the ATH9K driver as-is or by modification. > > In case you are not aware, the OFDM channel estimate is the estimation of > the channel generated by the receiver hardware using the pilot signals > embedded in the training symbols sent by the transmitter. In the case of > 802.11n MIMO there is a separate channel estimate for each > transmitter-receiver antenna combination. Normally this is only required > within the receiver hardware (to do MIMO equalization/detection), but we > have some interesting applications based on signal processing of the channel > estimate, so would like to be able to extract it from the chip via the > driver. > > (Please note this channel estimate comprises a complex value for each OFDM > subcarrier - it gives much deeper information than the basic RRSI power > strength indication that is often fed to the driver). > > Any advice would be appreciated. > > Many thanks in advance. > > > > > ------------------------------ > > _______________________________________________ > ath9k-devel mailing list > ath9k-devel at lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > > End of ath9k-devel Digest, Vol 7, Issue 58 > ****************************************** >