# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kysonlok.gitbook.io/blog/wireless/mt7628.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
