Update the calibration script to use driver status instead of supplicant status

Use wlan.driver.status to check whether wlan is OFF or not

Change-Id: I8eb37bd4029dce8093bef7743b8de6c7c443842a
Signed-off-by: Panduranga Mallireddy <panduranga_mallireddy@ti.com>
WLAN - compat_wl18xx: exclude building of non WLAN modules

- Exclude building Bluetooth components
- Exclude building COMPAT_NET_SCH modules

Change-Id: Iedaa3cef1cafa2b8d9fcca67bd16324892c9adbe
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Merge "WLAN - compat_wl18xx: exclude building of non WLAN modules" into d-jb-release
WLAN - compat_wl12xx: more file cleanups

- Remove unused files from compat
- Update Makefile accordingly

Change-Id: I65acbe7ee8063c082a1877ac7f668287f6ba15cd
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
WLAN - compat_wl18xx: more file cleanups

- Remove unused files from compat
- Update Makefile accordingly.

Change-Id: Id9c4cbde97286701dab89a245d82eaf0d5972816
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
WLAN - compat_wl12xx: fix compilation warnings

Fix compilation warnings "warning: "pr_fmt" redefined"

Based on below commit from compat-wireless,

commit 3362c65c42220fa0458d0499262245dc3b59f430
Author: Luis R. Rodriguez <mcgrof@frijolero.org>
Date:   Mon Apr 2 20:30:10 2012 -0700

    compat-wireless: fix pr_fmt compile warnings

Change-Id: Ifae0e05afecc95e742f815b9e890c65e2c8c96be
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
WLAN - mac80211: add script to help switch to r5 release

Adding helper script to switch to R5 (wl12xx) driver

Change-Id: I7d16e5f2f479f7b86248617fce22d06e0e210d45
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
WLAN - wl18xx: Update to R8.a4.04 from R8.a4.02 package

Upgrading driver and compat package to R8.a4.04 from R8.a4.02 package

wlcore/wl18xx/wl12xx: FW log params per chip arch
wl18xx: bump min fw version
wlcore: add ACX_PEER_CAP command
wlcore: make beacon_loss work per-vif
wlcore: update event mailbox to new fw api
wlcore: update events enum to new fw api
wlcore: update channel_switch/stop_channel_switch commands
wlcore: increase MAX_CHANNELS_5GHZ
wlcore: update acx enum
wlcore: save session_id per-link
wlcore: update commands enum to new fw api
wl18xx: Add support for 2nd set of mac/phy TxPower params
wl12xx/wl18xx: update default fw logger's settings
wl18xx: set last Tx rate from FW status
wlcore: improved Tx scheduling algorithm
wlcore: track FW-allocated packets per link
wlcore: count packets held per AC in each vif
wlcore: track wlvif inside per-link structure
wlcore: initialize per-link FW freed blocks correctly
wlcore: restore default channel configuration
wlcore: consolidate free_link and always call it
wlcore: take the mutex before resetting Tx queues
wlcore: remove unnecessary WARN_ON in wl12xx_tx_reset
wl18xx: FDSP Clock (FDSP Code RAM Corruption fix)
wlcore: fwlog dynamic mem_block control
mac80211: ignore global channel type when starting AP
nl80211: update definitions from newest wpa_s

Change-Id: I39e716fb7ee65d216fece925d0d302fbdbe17c34
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Signed-off-by: Assaf Azulay <assaf@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Pradeep Gurumath <pradeepgurumath@ti.com>
wlconf: Update to R8.a4.04 from R8.a4.02 package

Upgrading wlconf to R8.a4.04 from R8.a4.02 package

wlconf: update default fw logger conf to uart/cont
wlconf: Add support for 2nd set of mac/phy TxPower params
wlconf: add support for slow/fast link treasholds

Change-Id: I3583809c23ce6c9860e9ef302d974903e19c19d4
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Pradeep Gurumath <pradeepgurumath@ti.com>
WLAN - wl18xx: Update to R8.a4.05 from R8.a4.04 package

Upgrading driver and compat package to R8.a4.05 from R8.a4.04 package

wlcore: remove support for injected Tx

Change-Id: I93bc4ad56b40b6b42a207f9047f08b07c56fd2ae
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Pradeep Gurumath <pradeepgurumath@ti.com>
WLAN - mac80211: replace dd commands in wl7 switch script

Replace dd commands in wilink7 switch script with soft links.

Change-Id: I17a89b293f5d0fb3be419390c59b9f73d6896167
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Updating the WLAN Calibration Script

This make sure that it will only calibrate on R5 based driver.
Even if we hack the module to be loaded to wlcore_sdio.ko to use WiLink8
in init.rc and user has WiLink7, we can still use the script fo calibration

If the calibartion fails it will restore the previous nvs file.

Change-Id: I6e5a100ef7485ec5d408ad33f1cd430b2128c995
Signed-off-by: Panduranga Mallireddy <panduranga_mallireddy@ti.com>
WLAN - mac80211:wl18xx: Fix compat for working with BT compat on kernel 3.0

On kernel 3.0,
With BT compat.ko, mac80211.ko fails to load
[    7.321990] mac80211: disagrees about version of symbol simple_open
[    7.328765] mac80211: Unknown symbol simple_open (err -22)

With WLAN compat.ko, bluetoth.ko fails to load
[    6.562988] bluetooth: disagrees about version of symbol __pskb_copy
[    6.570007] bluetooth: Unknown symbol __pskb_copy (err -22)

Fix this by removing simple_open API from comapt-3.4 defenition.

Change-Id: I499865a61209a8d9bba4867777912659d9015b8f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Merge remote-tracking branch 'omap-mirror/jb-mr1-release' into p-jb-mr1-release
WLAN - wl18xx: Update to r8.a5.06 from r8.a4.05 package

mac80211: deny ADDBA on VO AC TIDs
wlcore: disable Tx BA on TIDs 6 and 7
wlcore: re-enable idle handling
wlcore: ROC on appropriate band when requested
wlcore: Always pass DMA-able buffers to mmc functions
wlcore: Refactor probe
mac80211: reject BA action frames if sent fron non HT STA
wl18xx: set default ht.mode to HT_MODE_WIDE (INTERNAL)
wl18xx: update default phy configuration for HDK1.8
wl18xx: count HW block spare based correctly on keys
wlcore: discard corrupted packets early in Rx path
wlcore: support scan reports during periodic scan
wlcore: don't take spinlock twice (SQUASH)
wlcore: iterate interfaces atomically during add_interface (SQUASH)
wl18xx: support MIMO only if HT mode is not forced to SISO
wlcore: consolidate Rx BA bitmap management to links struct
wlcore: don't take mutex before stopping queues
wlcore: use separate HW queue for each AC in each vif
wlcore: use link count for single-STA-PSM optimization
wl18xx: limit Tx for the AP single-STA-in-PSM case
wlcore/wl18xx: change priority calculations for links
wlcore: add new reg-domain configuration command
mac80211: sync acccess to tx_filtered/ps_tx_buf queues
wlcore: indicate failure on Rx BA session setup failure
wl18xx: change default phy/mac conf values
wl18xx: fix a bug in wl->num_rx_desc initialization
wlcore: disable elp sleep while in plt mode
wlcore: configure correct template for regular scan
wlcore: configure correct SSID for DFS chan scan
wlcore: add new plt power-mode: CHIP_AWAKE
wlcore: dump corrupted rx packets
wclore: fix wrong rx descriptor status mask
wlcore: set 5Ghz probe-req template for DFS in sched-scan
wlcore: set 5Ghz probe-req template for DFS channels
wlcore: treat Rx error code as a bitmask
wlcore: increase scan dwell times if no activity
mac80211: count started vifs

Change-Id: I54ea7c416facaf7208011258538c9d4231a0fd77
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Panduranga Mallireddy <panduranga_mallireddy@ti.com>
wlconf: Update to R8.a5.06 from R8.a4.04 package

Upgrading wlconf to R8.a5.06 from R8.a4.04 package

wlconf: disable BA on VO TIDs in tx_ba_tid_bitmap
wlconf: set default HT mode to SISO40
wlconf: Update metafiles according to latest official INIs
wlconf/ini: update ini files to HDK1.8
wlconf: change INI files and deault values
wlconf: increase scan dwell times if no activity

Change-Id: I26782cfefe1b65219df9ca3f74a9e0590d56eef5
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Panduranga Mallireddy <panduranga_mallireddy@ti.com>
WLAN - wl18xx: Update driver version to r8.a5.08 from r8.a5.06

wlcore: set max num of Rx BA sessions per chip
Revert "mac80211: use legacy mode for all ACs"
wlcore: enter elp in force ps mode in 5ms
mac80211: extract basic rates on start_ap

Change-Id: I3043500088b0d136df9b281c56d179756489cdaa
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
WLAN - wl18xx: Update driver version to r8.a5.13 from r8.a5.08

wlcore: consider dummy packets when tx queues are empty
wlcore: correctly check state before regdomain conf
wlcore: fix zeroing out of tx aggr stats (DEBUG)
wl18xx: set default mac for untrimmed devices
wlcore: AP-mode - recover security seq num for stations
wl18xx: allow using 40Mhz AP in 2.4Ghz for testing
wlcore: free AP global links properly on recovery
wl18xx: print chip info during boot
wlcore: add missing wake_lock_destroy (ANDROID)
18xx: add new configuration parameters for Telec support
wlcore: don't attempt to roam in case of p2p
wlcore: change warn on missing lock in wlcore_queue_xx funcs
mac80211: fix delayed ADDBA response
wlcore: report rssi from roaming statistics
wlcore: consolidate tx_seq handling on recovery
wlcore: don't risk using stale HLID during .sta_state callback
wlcore: remove set/cancel_priority ops
wlcore: use sta_state-based ROCs for AP mode
wlcore: initiate ROC/CROC on sta state updates
mac80211: fix NULL dereference in ieee80211_sta_process_chanswitch
wlcore: fix link count in single-link-PSM optimization

Change-Id: I17398faf1208c356714e4a4cef3a667b1468ef38
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Nadim Zubidat <nadimz@ti.com>
Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
wlconf: add new configuration for Telec support

New official INI files were updated to include new values

Meta files were updated accordingly:
	conf.h
	dictionary.txt
	struct.bin
	default.conf
	wl18xx-conf-default.bin

Example file were updated:
	example.conf
	example.ini

Signed-off-by: Victor Goldenshtein <victorg@ti.com>