Martin Blumenstingl writes:
> + if (of_property_read_bool(np, "qca,clk-25mhz"))
> + ah->is_clk_25mhz = true;
> +
> + if (of_property_read_bool(np, "qca,disable-2ghz"))
> + ah->disable_2ghz = true;
> +
> + if
This makes it possible to configure ath9k based devices using
devicetree. That makes some out-of-tree "convert devicetree to
ath9k_platform_data glue"-code obsolete.
Signed-off-by: Martin Blumenstingl
---
drivers/net/wireless/ath/ath9k/init.c | 55
This series adds support for configuring ath9k based devices via
devicetree. This was tested on PCI(e) based devices. This should work
for AHB based devices as well as soon as the ath79 platform is ready
to populate the ath9k wmac via devicetree.
Changes since v3:
- dropped RFC status
- dropped
This can be used when the ath_bus_type has to be presented in a log
message or firmware filename.
Signed-off-by: Martin Blumenstingl
---
drivers/net/wireless/ath/ath.h | 6 ++
drivers/net/wireless/ath/main.c | 7 +++
2 files changed, 13 insertions(+)
Add documentation how devicetree can be used to configure ath9k based
devices.
Signed-off-by: Martin Blumenstingl
---
.../devicetree/bindings/net/wireless/qca,ath9k.txt | 59 ++
1 file changed, 59 insertions(+)
create mode 100644
There were two paths in the code for "external" eeprom sources. The code
in eeprom.c only handled the cases where the eeprom data was loaded via
request_firmware. ahb.c and pci.c on the other hand had some duplicate
code which was only used when the eeprom data was passed via
ath9k_platform_data.
-to-avoid-IS_ERR_VALUE-abuses/20160709-235356
config: x86_64-randconfig-x007-201628 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
I
is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Arvind-Yadav/ErrHandling-Make-IS_ERR_VALUE_U32-as-generic-API-to-avoid-IS_ERR_VALUE-abuses/20160709-235356
config: x86_64-rhel (attached as .config)
compiler: gcc-4.9
IS_ERR_VALUE() assumes that its parameter is an unsigned long.
It can not be used to check if an 'unsigned int' reflects an error.
As they pass an 'unsigned int' into a function that takes an
'unsigned long' argument. This happens to work because the type
is sign-extended on 64-bit architectures
Peeps :
I'm trying to test 20 to 200 WiFi "stations" (running OpenWRT) in a warehouse.
I'd like to find some tools to gather lots of stats about each station
and access point , such as RSSI, bitrate, etc (similar to "iw $if0
station dump) and output to CSV (or JSON or YAML). It would also be
-to-avoid-IS_ERR_VALUE-abuses/20160709-235356
config: x86_64-rhel (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
In file included from i
IS_ERR_VALUE() assumes that its parameter is an unsigned long.
It can not be used to check if an 'unsigned int' reflects an error.
As they pass an 'unsigned int' into a function that takes an
'unsigned long' argument. This happens to work because the type
is sign-extended on 64-bit architectures
Kalle Valo writes:
> jes.soren...@redhat.com writes:
>
>> From: Jes Sorensen
>>
>> Successfully tested by Jocelyn Mayer
>>
>> Reported-by: J. Mayer
>> Signed-off-by: Jes Sorensen
>> ---
>>
Tim Shepard writes:
>> The old code path in ath_tx_start that would queue packets has been
>> removed completely,
>
> It seems to me that this breaks the ath9k driver when non-data packets
> which mac80211 will not queue on the new intermediate queues, see
> ieee80211_drv_tx(
Hi Denis,
> This function emits NL80211_CMD_NEW_INTERFACE or
> NL80211_CMD_DEL_INTERFACE events. This is meant to be used by the core
> to notify userspace applications such as wpa_supplicant when a netdev
> related to a wireless device has been added or removed.
>
> Signed-off-by: Denis
Sebastian Gottschall writes:
> for me it crashes on wds sta on 3.18 kernels.
Bugger :/
> need to solder a serial to get more logs
That would be helpful :)
-Toke
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to
16 matches
Mail list logo