Wireless file missing in /etc/config/wireless in AR9331 board

I have build the firmware and dump it into the AR9331 board but I not able to create WIFI. The wireless file in /etc/config/wireless is missing while booting the device. The Error occurred is shown below.

[   15.490000] ath: phy0: timeout (1000 us) on reg 0x15f18: 0x00000000 & 0x00000007 != 0x00000004
[   15.490000] ath: phy0: Unable to initialize hardware; initialization status: -5
[   15.490000] ath9k ar933x_wmac: failed to initialize device
[   15.500000] ath9k: probe of ar933x_wmac failed with error -5
[   25.940000] eth0: link up (1000Mbps/Full duplex)
[   57.910000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   57.910000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   57.920000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.

Let me know the steps to resolve this issue.

Thanks in advance.

at all those included in your image ?

ath9k-htc-firmware
kmod-ath9k
kmod-ath9k-common
kmod-ath9k-htc

Yes i am having all those files in my image. but unable to see the file

what file ?

wireless file missing in /etc/config folder while building the image

post the .config of your build.

use the code formatting (Ctrl-Shift-C)

where do i get this file

it's in your build directory.

I am new in it please give me full path

depends on where you put your build directory, doesn't it ?

it's hidden, in it's root though.

ls -la

/etc/hostapd.conf
/etc/miniupnpd.conf
/etc/opkg.conf
/etc/sysctl.conf
/etc/sysupgrade.conf
/etc/udev/udev.conf
/rom/etc/e2fsck.conf
/rom/etc/hostapd.conf
/rom/etc/miniupnpd.conf
/rom/etc/opkg.conf
/rom/etc/sysctl.conf
/rom/etc/sysupgrade.conf
/rom/etc/udev/udev.conf
/tmp/miniupnpd.conf

which file shall i provide

it's in the build root of Openwrt, not on the router.

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Its too big file not getting uploaded

How do i share it

@dhawal If the file is too big put it on a pastebin like paste.debian.net e.g. If you include it here, please use the code tags (</>) in the edit bar on top of your post window.

Also, don't post five single message in a row please. Edit your post.

If your wireless doesn't get detected (as your log shows), you won't get any configuration file either. That's the first thing you need to fix (look into the ar71xx code probably).

image

after send i got this error. Please guide me how to use it

that is not an openwrt issue ...

try pastebin instead.

https://pastebin.com/raw/7eUyWNqQ
Please have a look on .config file data and let me know how to enable the wifi

# CONFIG_PACKAGE_kmod-ath9k-htc is not set

Is it, or isn't it ?