remote talking to AR9271

Oleksij Rempel linux at rempel-privat.de
Wed Feb 24 20:53:26 PST 2016


Hi Bruce,

Am 25.02.2016 um 05:19 schrieb bruce m beach:
> Hello Oleksij
> 
>> Complete SOC documentations is missing. We have only wifi
>> part of it.  I created some doc here:
>> https://github.com/qca/open-ath9k-htc-firmware/wiki/usb-regs
>> https://github.com/qca/open-ath9k-htc-firmware/wiki/usb-related-issues
>> https://github.com/qca/open-ath9k-htc-firmware/wiki/HTC
> 
> 
>   Thanks for you reply. All these things I looked at, but at
> the moment and for the last several months I've really been
> working on the build tree which hopefully I'll be finished
> in a month or so and can finally do some codeing. (I do have
> a usb user space module at this point that will send data to
> the 9271 but it is in an unfinished state). Right now I
> noticed something about the preprocessor statements in init.c
> which puzzles me. The only way I could see it was to copy
> init.c to another file and delete everything except the
> preprocessor statements, since the final #endif is 328 lines
> below the #if defined(PROJECT_MAGPIE) of interest. Below is
> the code section of interest:
> 
>     #if defined(PROJECT_MAGPIE)         // outer #if
>       ....
>         #if defined(PROJECT_MAGPIE) // inner
>         #elif defined(PROJECT_K2)
>         #endif /* #if defined(PROJECT_MAGPIE) */ //inner
> 
>         #if SYSTEM_MODULE_PRINT
>         #else
>         #endif
> 
>         #if defined(_ROM_)
>         #endif
>        ....
>        ....
>     #endif                              // end of outer #if
> 
> Notice that if PROJECT_MAGPIE is defined the
>     #elif defined(PROJECT_K2)
> will not get executed, but if PROJECT_MAGPIE is not defined the
> #elif defined(PROJECT_K2) will still not get executed since
> it is inside the  outer #if defined(PROJECT_MAGPIE) block. If I cut
> the whole block out a
> 
> diff -s  htc_9271.fw htc_9271.fw.git
> 
> from my tree to the git tree are still identical.

Yea, looks buggy :)
Can you provide a patch for this? Make github pull request.

> 
> Bruce
> 
> btw I can't make out who is
>    ath9k_htc_fw-request at lists.infradead.org
>    should I not be sending to
>    ath9k_htc_fw at lists.infradead.org ?


ath9k_htc_fw at lists.infradead.org is the proper one.

-- 
Regards,
Oleksij

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/ath9k_htc_fw/attachments/20160225/ba83a957/attachment.sig>


More information about the ath9k_htc_fw mailing list