[OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

Stefan Rompf stefan at loplof.de
Wed May 20 18:09:08 EDT 2015


Hi,

> -Trapping ar5416GpioSet with some hand crafted assembly code that traces
> calls and logs them somewhere

this works. I've trapped ar5416GpioSet, putting my code into space occupied by 
the unused function ar5416GpioCfgInput. ar5416GpioGet is work to do. I can 
send the code, but it will require adoption to your environment.

Tuning to channel 1 revealed the following commands sent via the SPI protocol 
you discovered (first column is number of repetitions).

      2 00 00 00 00 00 00 00 00  
      1 00 01 01 00 00 00 01 00  (the 98 disable command)
      1 00 00 01 01 00 00 01 00  
      1 00 00 01 01 00 00 00 00  
     10 00 00 00 00 00 00 00 00  
      1 00 01 01 01 01 00 00 00  
     10 00 00 00 00 00 00 00 00  
      1 00 01 01 00 01 01 00 01  
     10 00 00 00 00 00 00 00 00  
      1 00 01 01 00 00 01 01 00  
      1 00 00 01 01 00 00 00 00  
      1 00 00 01 01 00 00 01 00  
      1 00 00 01 01 00 01 00 00  
      1 00 00 01 01 00 00 00 01  
      1 00 00 01 01 00 01 01 01  
      7 00 00 00 00 00 00 00 00  
      1 00 00 00 00 00 00 00 00 

I'll test repeated tuning, other channels and GpioGet next weekend, it's quite 
in the late evening here by now ;-)

Stefan
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list