forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twt callbacks #1
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cherry pick commit 622d6fb ("samples: wifi: sta: Remove unused macro") from STA sample to TWT sample as they have the same base code. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
Cherry pick commit 845c6fd ("samples: wifi: sta: Rejig connection timeout handling"). Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
The return values for failures should be negative as per conventions. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
For now we just return failure, in the future we can add retries. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
As we only return 1/0 use boolean as a the return type. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
When using nRF70 Wi-Fi driver, the stack depth is higher, so, without the separate TC thread the net TCP layer workqueue stack overflows. Fix this by always using the TC thread, this was the default but missed synchornizing with newly added samples. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This module can be used to send traffic by establishing a control connection based on TCP and then sending data traffic either TCP or UDP and printing results at the end (both client and server). This gives us explicit control over sending traffic rather than using tools like Zperf, the primary user for this will be TWT sample, so, its under the sample, but if we find more users then this can be moved to a library. For now only TCP data traffic support is added as its the primary usecase. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
Use tab expansion of 4 spaces. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
Using the newly added traffic gen module, trigger TCP traffic after establishing the TWT flow. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
With traffic gen enabled, need optimized network buffers to get decent performance. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
This is a python script that implements traffic generator server to test nRF70 series Wi-Fi chipsets. Formatted usign black with max-line-length=100 and ran flake8 linter. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
These modes have interopeability issues with most AP's, so, disable them to get traffic with TWT with most of the APs. Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
Pull fix to handle quotes in extra arguments, this is needed to pass IP address to TWT sample. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
krish2718
force-pushed
the
twt_callbacks
branch
from
September 6, 2023 19:32
de9201b
to
497188b
Compare
Registered TWT call backs with SLEEP and AWAKE events Traffic will send only in awake window Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
chiranjeevi2776
force-pushed
the
twt_callbacks
branch
from
September 7, 2023 07:45
497188b
to
715af69
Compare
chiranjeevi2776
force-pushed
the
add_twt_traffic_gen
branch
2 times, most recently
from
September 13, 2023 15:02
1d7a6be
to
b4b0397
Compare
krish2718
force-pushed
the
add_twt_traffic_gen
branch
from
September 19, 2023 08:54
30ecbb7
to
6440606
Compare
old and stale. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
updated with twt call back events.