Changes between Version 14 and Version 15 of wireless/wifi


Ignore:
Timestamp:
01/23/2018 03:31:40 PM (4 weeks ago)
Author:
Tim Harvey
Comment:

added more details about replacing ath10k firmware

Legend:

Unmodified
Added
Removed
Modified
  • wireless/wifi

    v14 v15  
    640640}}}
    641641
    642 ==== Multiple Firmware instructions ====
    643 To use one firmware vs. another, you simply need to rename, or relink it. Steps are details below:
    644 {{{
     642==== Altnerative Firmware instructions ====
     643To use one firmware vs. another, you simply need to rename, or relink it. This varies depending on the chipset firmware you are interested in as well as the BSP.
     644
     645Some examples:
     646 * link CT's QCA988x firmware on OpenWrt 16.02:
     647{{{#!bash
    645648$ cd /lib/firmware/ath10k/QCA988X/hw2.0/
    646649$ ln -sf firmware-2-ct-full-community-beta.bin firmware-2.bin
    647650$ # Reboot board
    648651}}}
     652 * Replace stock QCA994 firmware with CT's:
     653{{{#!bash
     654# Download Candelatech's firmware.bin and board.bin files
     655wget http://www.candelatech.com/downloads/ath10k-9984-10-4/board-2-ct.bin
     656wget http://www.candelatech.com/downloads/ath10k-9984-10-4/firmware-5-ct-full-community.bin
     657
     658# Back up old files
     659cp /lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin /lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin_old
     660cp /lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin /lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin_old
     661
     662# Drop in Candelatech files
     663mv board-2-ct.bin /usr/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
     664mv firmware-5-ct-full-community.bin /lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
     665}}}
     666
    649667
    650668That's it! You can use this method to link any firmware, so long as it's called firmware-2.bin (and if using the latest ath10k drivers, firmware-3.bin).
    651669
     670
     671[=#candelatech]
    652672===== Candelatech =====
    653 [http://www.candelatech.com Candelatech] got their hands on the source code for the ath0k firmware and have been actively developing it. One of their latest enhancements to their firmware was to add adhoc support in conjunction with infrastructure (both 10.1 + 999.999 firmwares in one!). As it's still a beta firmware, we've put a binary on our site [http://dev.gateworks.com/sources/candelatech/firmware-2-ct-full-community-beta.bin here]. Use the above instructions to link it in and you should be able to get the best of both worlds.
     673[http://www.candelatech.com Candelatech] licenses the source code for the ath0k firmware from QCA and has been actively developing it to provide enhancements and bugfixes that are not necessarily limitted to QCA's stock firmware priorities. One such enhancement is that they add IBSS/adhoc support.
    654674
    655675Candelatech also has a [http://www.candelatech.com/ath10k-10.4.php web page] for custom firmware files that may be required for certain radio's such as the [https://www.compex.com.sg/product/wle1216v5-20/ WLE1216V5-20 wave 2 radio].
     
    667687}}}
    668688
    669 If this is the case, execute these commands to retrieve new firmware and replace the defaults.
    670 
     689If this is the case, you can use CT's firmware as follows:
    671690{{{#!bash
    672691# Download Candelatech's firmware.bin and board.bin files
     
    682701mv firmware-5-ct-full-community.bin /lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
    683702}}}
    684 
    685 Note that this example was done for the [https://www.compex.com.sg/product/wle1216v5-20/ WLE1216V5-20 wave 2 radio] using a {{{QCA9984}}} chipset. You may need to change your {{{wget}}} and {{{/usr/lib/firmware/...}}} targets accordingly.
     703 * Note that this example was done for the [https://www.compex.com.sg/product/wle1216v5-20/ WLE1216V5-20 wave 2 radio] using a {{{QCA9984}}} chipset. You may need to change your {{{wget}}} and {{{/usr/lib/firmware/...}}} targets accordingly.
     704 * Note that if you want to use the stock firmware you can just replace the board-2.bin file with CT's until the stock firmware supports the Wave2 cards properly.
    686705
    687706Finally, to see what's current in ath10k, see [http://wireless.kernel.org/en/users/Drivers/ath10k here] for more info