Tag: openwrt

  • 在 TP-Link wdr4300 對 OpenWrt/LEDE 的 ath9k driver 打 patch

    在 TP-Link wdr4300 對 OpenWrt/LEDE 的 ath9k driver 打 patch

    1. 目標 透過 OpenWrt/LEDE 的 quilt 將 ath9k 打上 patch,把 ath9k/xmit.c、ath9k/recv.c、net/mac80211/tx.c 特定的 function static 修飾字消除,以利 ftrace / perf 能夠順利取得 symbol 進行追蹤。 2. 方法 a. 找出 ath9k 在 OpenWrt/LEDE 正確的 package b. 使用 quilt 對 ath9k 以及 mac80211 打 patch c. 重新編譯後替換 ath9k.ko / 或重新刷機 3. 實做 a. 找出 ath9k 在 OpenWrt/LEDE 正確的 package 一般來說,kernel code 應該是在…