Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2013 15:25:39 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-embedded <freebsd-embedded@freebsd.org>
Subject:   Re: Making Picostation m2HP work
Message-ID:  <CALCpEUFv9bpQGyfb9xBTwwxu4uBc13AHB6zAZLjUkHrQ2=atMw@mail.gmail.com>
In-Reply-To: <CALCpEUEjHAb8PDD56pKJE4g-8ZhB4Mmimkdf8xoFjfKfBr7X2A@mail.gmail.com>
References:  <CALCpEUHyqyq2WShNfu1ARFGHH6s6yPeojkq3M5Dfg0veaSy7KQ@mail.gmail.com> <CAJ-Vmokh4uSy2RkNoyGnYbm9k0B3YBD96B7Kvn5b8zJgU0KVkg@mail.gmail.com> <CALCpEUFXrdST43Nz2m-y__htXjLdmds8B5_JV2P9oFtGCEAr1g@mail.gmail.com> <CALCpEUHu0FONekw%2BF4bvef-qLjmtwMso31GJpJd5BP_6JsH0fQ@mail.gmail.com> <CALCpEUFbk-0eE_HQRhF48YA7KgiyW=AB9G8F0UC3Uwti977m4A@mail.gmail.com> <20130826225420.GF29777@funkthat.com> <CALCpEUFgZW88C4RVCQzsE00%2B8YGvKDx28SPhYRwGe8dyZ2vxag@mail.gmail.com> <20130826230843.GH29777@funkthat.com> <CALCpEUEWPZ%2BWS1SZCw=UqQah3EnWiTG0f=70q-JFzq%2BuQ_yaBw@mail.gmail.com> <CALCpEUEqEMr-BXDzOzjKnXPbEGM5g6Rjmxmj8JaOYxtgxaL50A@mail.gmail.com> <20130827055547.GK29777@funkthat.com> <CALCpEUF0WZvGcv0P0zpG6Eerp7Yzu9bQQLt9=AsBLJkA4vEx2w@mail.gmail.com> <CAJ-VmomkYfhO4w2ZEWOHbac0RzVaW2ST9QdWt8nE%2B6dZFczYdQ@mail.gmail.com> <CALCpEUHpaU7Tzs6mAkpOgFYvc2OaxRKMh0g04KnsTJptfOxEPQ@mail.gmail.com> <CAKYr3zzZOd=c_pjDLgkvDjeWZ4apq_4oL9X0d6%2BPJueSkREd9A@mail.gmail.com> <CALCpEUE_7C6K4xLw4FB=W2oCaPTnHcpuALyQt38Q54%2B8=o13kg@mail.gmail.com> <CALCpEUGxAFOLmL4rKO4Orn--Sns2L1PQ45x_zAZf8bFSYwKthw@mail.gmail.com> <CALCpEUFdgE0x_yEvFJ_4vZeznB57Z%2BpFQcaQBg3E_XFTt4Mj=g@mail.gmail.com> <CALCpEUEjHAb8PDD56pKJE4g-8ZhB4Mmimkdf8xoFjfKfBr7X2A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 28, 2013 at 2:52 PM, hiren panchasara <
hiren.panchasara@gmail.com> wrote:

>
>
>> Alright. I was not loading if_ath_pci and that was the reason.
>> (Thanks to Sean for yelling at me from across the isle).
>>
>> But now, it fails at:
>>
>> ath0: <Atheros 9280> at device 0.0 on pci0
>> ath0: ath_pci_attach: EEPROM firmware @ 0x8046c000
>> [ath]: default pwr offset: -5 dBm != EEPROM pwr offset: 0 dBm; curves
>> will be adjusted.
>> ath0: ath_getchannels: unable to collect channel list from hal, status 12
>> device_attach: ath0 attach returned 22
>>
>
> Turning on debugging:
>
>  # sysctl hw.ath.hal.debug=25600000000
> hw.ath.hal.debug: 0 -> 2147483647
>
>
> # kldload if_ath_pci
> ath0: <Atheros 9280> mem 0x10000000-0x1000ffff irq 0 at device 0.0 on pci0
>
> ath0: ath_pci_attach: EEPROM firmware @ 0x8046c000
> ar9280Attach: sc 0xc090d000 st 0x803006b4 sh 0xb0000000
> ar5416SetReset Applying descriptor swap
> ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
> ar9280Attach: ID 0x802ff VERSION 0x2 TYPE 0x0 REVISION 0x2
> ath_hal_v14EepromAttach Eeprom Version 14.22
> v14EepromReadCTLInfo Numctls = 11
> ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
> ar9280RfAttach: attach AR9280 radio
> [ath]: default pwr offset: -5 dBm != EEPROM pwr offset: 0 dBm; curves will
> be adjusted.
> enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0xbffe0c
> cckPhyErrBase 0xbfff38
> ar9280Attach: return
> getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm
> isEepromValid: invalid regulatory domain/country code 0x2a
>
Adrian:

Do we need to update hal regdomain entries with country code  0x2a?

cheers,
Hiren

getregstate: invalid EEPROM contents
> ath0: ath_getchannels: unable to collect channel list from hal, status 12
> ar5416Detach:
> ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
> Detaching Ani
> Disable MIB counters
> ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
> ar5416SetReset Applying descriptor swap
> ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip )
>
> device_attach: ath0 attach returned 22
>
>
> cheers,
> Hiren
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUFv9bpQGyfb9xBTwwxu4uBc13AHB6zAZLjUkHrQ2=atMw>