Go back –> ath9k driver

ath9k driver size optimizations

This section documents the current ath9k module size.

Size on on MIPS

Here's the size of the stripped kernel modules on compat-wireless-2.6.36 when compiled for MIPS.

  • ath.ko: 10360
  • ath9k.ko: 129520
  • ath9k_common.ko: 3988
  • ath9k_hw.ko: 307528
  • cfg80211.ko: 195996
  • compat.ko: 6148
  • mac80211.ko: 347132

This comes out to a total of 1000672 bytes, or 977.22 KB

Size enhancements

Leaving out AR9003 may save around 50k. Leaving out all of AR5008-AR9002 together might save around 100k. We're not convinced that adding family specific kernel configuration options to drop families may be worth the effort to reduce size.

Feel free to document here ideas to further reduce module size.