Changeset 39957


Ignore:
Timestamp:
2014-03-19T15:37:12+01:00 (4 years ago)
Author:
nbd
Message:

ath10k: update firmware and allow choice between AP and STA firmwares

This patch updates ath10k firmware to the latest version, changes the
default firmware to be the one optimized for access point operation, and
introduces a configuration option to choose the client-optimized
firmware instead during build time.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/mac80211/Makefile

    r39947 r39957  
    123123 
    124124PKG_ATH10K_LINUX_FIRMWARE_NAME:=ath10k-firmware 
    125 PKG_ATH10K_LINUX_FIRMWARE_VERSION:=d86e78e5c6be34329936c8bd73a212700437be2e 
     125PKG_ATH10K_LINUX_FIRMWARE_VERSION:=38eeda3ae6f90fde5546bdd48ee4ff3090f238c0 
    126126PKG_ATH10K_LINUX_FIRMWARE_SOURCE:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION).tar.bz2 
    127127PKG_ATH10K_LINUX_FIRMWARE_PROTO:=git 
     
    594594Atheros IEEE 802.11ac family of chipsets. For now only 
    595595PCI is supported. 
     596endef 
     597 
     598define KernelPackage/ath10k/config 
     599  if PACKAGE_kmod-ath10k 
     600 
     601        config ATH10K_STA_FW 
     602                bool "Firmware optimized for STA operation" 
     603                default n 
     604                help 
     605                  Use the ath10k firmware optimized for wireless client instead 
     606                  of access point operation. 
     607 
     608  endif 
    596609endef 
    597610 
     
    16541667define KernelPackage/ath10k/install 
    16551668        $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0 
     1669ifeq ($(CONFIG_ATH10K_STA_FW),y) 
     1670        $(INSTALL_DATA) \ 
     1671                $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \ 
     1672                $(1)/lib/firmware/ath10k/QCA988X/hw2.0/ 
     1673        $(INSTALL_DATA) \ 
     1674                $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/main/firmware-2.bin_999.999.0.636 \ 
     1675                $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin 
     1676else 
    16561677        $(INSTALL_DATA) \ 
    16571678                $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \ 
    16581679                $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/firmware-2.bin \ 
    16591680                $(1)/lib/firmware/ath10k/QCA988X/hw2.0/ 
     1681endif 
    16601682endef 
    16611683 
Note: See TracChangeset for help on using the changeset viewer.