#
be98e3a4 |
| 25-Oct-2011 |
Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> |
ath6kl: Keep wiphy reference in ath6kl structure
This is to avoid using ar->wdev to get wiphy pointer, this may need further cleanup for multi vif support.
Signed-off-by: Vasanthakumar Thiagarajan
ath6kl: Keep wiphy reference in ath6kl structure
This is to avoid using ar->wdev to get wiphy pointer, this may need further cleanup for multi vif support.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
521dffcc |
| 25-Oct-2011 |
Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> |
ath6kl: Pass ath6kl structure to ath6kl_init() instead of net_device
ar is again taken from private area of net_device in ath6kl_init(), pass ar directly.
Signed-off-by: Vasanthakumar Thiagarajan <
ath6kl: Pass ath6kl structure to ath6kl_init() instead of net_device
ar is again taken from private area of net_device in ath6kl_init(), pass ar directly.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
Revision tags: v3.1, v3.1-rc10 |
|
#
bef26a7f |
| 12-Oct-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: fix firmware start address for ar6003 hw2.0
Sangwook found out that commit 639d0b89 ("ath6kl: read firmware start address from hardware") broke firmware boot on ar6003 hw2.0 as it seems it's
ath6kl: fix firmware start address for ar6003 hw2.0
Sangwook found out that commit 639d0b89 ("ath6kl: read firmware start address from hardware") broke firmware boot on ar6003 hw2.0 as it seems it's not posible to automatically query the address from hardware. So we need to hardcode the address for hw2.0.
Reported-by: Sangwook Lee <sangwook.lee@linaro.org> Tested-by: Sangwook Lee <sangwook.lee@linaro.org> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
cbf49a6f |
| 05-Oct-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: fix struct host_app_area endian handling
It was missing endian annotation.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
|
#
562a7480 |
| 07-Nov-2011 |
Johannes Berg <johannes.berg@intel.com> |
nl80211: advertise device AP SME
Add the ability to advertise that the device contains the AP SME and what features it can support. There are currently no features in the bitmap -- probe response of
nl80211: advertise device AP SME
Add the ability to advertise that the device contains the AP SME and what features it can support. There are currently no features in the bitmap -- probe response offload will be advertised by a few patches Arik is working on now (who took over from Guy Eilam) and a device with AP SME will typically implement and require response offload.
Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
show more ...
|
Revision tags: v3.1-rc9 |
|
#
ef548626 |
| 01-Oct-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: fix size_t related warnings
My earlier debug log additions added these warnings when compiling 64 bit kernels:
ath6kl/init.c:962: warning: format '%d' expects type 'int', but argument 3 h
ath6kl: fix size_t related warnings
My earlier debug log additions added these warnings when compiling 64 bit kernels:
ath6kl/init.c:962: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' ath6kl/init.c:975: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' ath6kl/init.c:988: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' ath6kl/init.c:1009: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' ath6kl/init.c:1192: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' ath6kl/init.c:1236: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' ath6kl/init.c:1267: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
Reported-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
c6efe578 |
| 28-Sep-2011 |
Stephen Rothwell <sfr@canb.auug.org.au> |
wireless/ath6kl: use of module_param requires the inclusion of moduleparam.h
Otheriwse the module.h split up fails like this:
drivers/net/wireless/ath/ath6kl/init.c:27:26: error: expected ')' befor
wireless/ath6kl: use of module_param requires the inclusion of moduleparam.h
Otheriwse the module.h split up fails like this:
drivers/net/wireless/ath/ath6kl/init.c:27:26: error: expected ')' before 'uint'
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
Revision tags: v3.1-rc8 |
|
#
6bc36431 |
| 27-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: add debug logs for booting
Just to make it easier to find out why boot fails.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
|
#
1b4304da |
| 27-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: allow firmware to override firmware patch address
In some firmware versions their patch address has changed. If the firmware provides one, use it to override the default address.
Signed-off
ath6kl: allow firmware to override firmware patch address
In some firmware versions their patch address has changed. If the firmware provides one, use it to override the default address.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
Revision tags: v3.1-rc7 |
|
#
011a36e1 |
| 19-Sep-2011 |
Vivek Natarajan <nataraja@qca.qualcomm.com> |
ath6kl: Indicate the roaming capability of the firmware
When the rssi of the current AP drops, both wpa_supplicant and the firmware may do a background scan to find a better AP and try to associate.
ath6kl: Indicate the roaming capability of the firmware
When the rssi of the current AP drops, both wpa_supplicant and the firmware may do a background scan to find a better AP and try to associate. This might lead to a race condition where both may try to connect to some AP based on their scan results.
Since the firmware is capable of handling roaming, let wpa_supplicant know about this capability so that it will back off from bgscan based roaming.
Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
457fb041 |
| 19-Sep-2011 |
Jouni Malinen <jouni@qca.qualcomm.com> |
ath6kl: Remove the unused node table implementation
Now that the scan results are reported directly to the cfg80211 BSS table there is no need for maintaining this internal node table implementation
ath6kl: Remove the unused node table implementation
Now that the scan results are reported directly to the cfg80211 BSS table there is no need for maintaining this internal node table implementation for scan results. Remove the definitions and node table functions.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
Revision tags: v3.1-rc6 |
|
#
ac59a2b2 |
| 10-Sep-2011 |
Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> |
ath6kl: Remove auth type fall back in auto authentication mode
Target already tries with different authentication mechanism when authentication type is configured to NL80211_AUTHTYPE_AUTOMATIC. Remo
ath6kl: Remove auth type fall back in auto authentication mode
Target already tries with different authentication mechanism when authentication type is configured to NL80211_AUTHTYPE_AUTOMATIC. Remove this piece of code from driver. Having this code in driver even affects auto + WEP authentication in some cases.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
97e0496d |
| 12-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: add firmware capabilities support
The new firmware format includes capability bits which make it possible to check what features the firmware supports. Add infrastructure to read the capabil
ath6kl: add firmware capabilities support
The new firmware format includes capability bits which make it possible to check what features the firmware supports. Add infrastructure to read the capabilities. For now it only provides ATH6KL_FW_CAPABILITY_HOST_P2P which is not even used anywhere yet, but that will be added later.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
8a137480 |
| 07-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: read reserved ram size from firmware file
A new version of firmware needs different reserved ram size so read that from the firmware image.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
|
#
639d0b89 |
| 12-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: read firmware start address from hardware
It's actually possible to read the firmware start address from hardware, that way there's no need to hardcode the address in hardware.
Thanks to Ch
ath6kl: read firmware start address from hardware
It's actually possible to read the firmware start address from hardware, that way there's no need to hardcode the address in hardware.
Thanks to Chilam Ng for the idea.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
991b27ea |
| 07-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: refactor firmware ext data addr and reserved ram handling size
Less if clauses this way and again easier to override the values.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
|
#
a01ac414 |
| 07-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: refactor firmware load address code
Currently the load address was calculated everytime when it was needed, and with a mess if clauses. Simplify this by adding a field to struct ath6kl for e
ath6kl: refactor firmware load address code
Currently the load address was calculated everytime when it was needed, and with a mess if clauses. Simplify this by adding a field to struct ath6kl for each address and choose the address with simple switch statements.
Also move the code just after target version is retrieved. That way it's easier to override the values later in the boot process.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
50d41234 |
| 07-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: add support for firmware API 2 format
In the new format all the format images are embedded into one file.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
|
#
772c31ee |
| 07-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: separate firmware fetch from upload
In preparation for the new firmware image format.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
|
#
92ecbff4 |
| 07-Sep-2011 |
Sam Leffler <sleffler@chromium.org> |
ath6kl: query device tree for firmware board-id
When no default board data file is present query the device tree for a board-id setting to identify the board data to use. If the FDT lacks the neces
ath6kl: query device tree for firmware board-id
When no default board data file is present query the device tree for a board-id setting to identify the board data to use. If the FDT lacks the necesary info fall back to the previous behaviour of using a compile-time board filename.
Signed-off-by: Sam Leffler <sleffler@chromium.org> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
6bbc7c35 |
| 05-Sep-2011 |
Jouni Malinen <jouni@qca.qualcomm.com> |
ath6kl: Allow enabling of P2P support
For now, use a module parameter (ath6kl_p2p) to allow P2P support to be enabled. This is needed since there is no mechanism for enabling the P2P mode more dynam
ath6kl: Allow enabling of P2P support
For now, use a module parameter (ath6kl_p2p) to allow P2P support to be enabled. This is needed since there is no mechanism for enabling the P2P mode more dynamically for a single netdev.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
Revision tags: v3.1-rc5 |
|
#
e5090444 |
| 31-Aug-2011 |
Vivek Natarajan <nataraja@qca.qualcomm.com> |
ath6kl: Add debugfs entry to modify roaming parameters.
Firmware initiates roaming only after it reaches a rssi of 20. This lower rssi threshold can be modified through a wmi command to modify the r
ath6kl: Add debugfs entry to modify roaming parameters.
Firmware initiates roaming only after it reaches a rssi of 20. This lower rssi threshold can be modified through a wmi command to modify the roaming behavior.
kvalo: rename debugfs functions and move comment about rssi units next to ath6kl_wmi_set_roam_lrssi_cmd()
Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
bc07ddb2 |
| 02-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: read fwlog from firmware ring buffer
Firmare sends the logs only when it's internal ring buffer is full. But if firmware crashes we need to retrieve the latest logs through diagnose window.
ath6kl: read fwlog from firmware ring buffer
Firmare sends the logs only when it's internal ring buffer is full. But if firmware crashes we need to retrieve the latest logs through diagnose window. This is now done everytime the debugfs file is read.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
addb44be |
| 02-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: cleanup diagnose window read and write functions
Just to make them a bit easier to read and unify naming. 32 suffix in the function name means that it will be a 32 bit transfer. If there's n
ath6kl: cleanup diagnose window read and write functions
Just to make them a bit easier to read and unify naming. 32 suffix in the function name means that it will be a 32 bit transfer. If there's no number a buffer is transfered instead.
Use void pointers to get rid of ugly casts.
Don't provide target address as a pointer, pass it by value. Same for the value used in write32().
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|
#
bdf5396b |
| 02-Sep-2011 |
Kalle Valo <kvalo@qca.qualcomm.com> |
ath6kl: add firmware log support
Firmware sends binary logs with WMIX_DBGLOG_EVENTID event. Create a buffer which stores the latest logs and which can be copied from fwlog debugfs file with cp comma
ath6kl: add firmware log support
Firmware sends binary logs with WMIX_DBGLOG_EVENTID event. Create a buffer which stores the latest logs and which can be copied from fwlog debugfs file with cp command.
To save memory firmware log support is enabled only when CONFIG_ATH6KL_DEBUG is enabled.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
show more ...
|