> For the complete documentation index, see [llms.txt](https://kysonlok.gitbook.io/blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kysonlok.gitbook.io/blog/wireless/mt7628.md).

# How to get wirelss assoclist on MT7628

## Prepare

Make sure that you have got the wireless driver of MT7628 from MediaTek or your distributor.

You can find the source code in [demo source code](https://github.com/kysonlok/blog/tree/543bebbcfccc905e91635fc4289afc1074bdacc8/wireless/mt7628/src/src/assoclist_demo.c), please create a fold named wlan\_assoclist in you buildroot's package path, and copy all files into it.

## Compile

Assume that you have known how to build a firmware, and you have built a firmware for MT300N-V2. We can execute this command to build our demonstration code.

```
make package/wlan_assoclist/{clean,compile} V=s
```

## Further development

It is only contains a demonstration code to get wireless assoclist. You can integrate the function to your projet.
