-
Notifications
You must be signed in to change notification settings - Fork 513
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
[rtl872x] fix wifi/ble coexistence issues; USB re-enum workarounds #2752
Conversation
…llation and tx start on full tx buffer
…ot ppp session resume in some cases
@@ -229,7 +238,7 @@ class BleEventDispatcher { | |||
void* allEvtQueue_; | |||
void* ioEvtQueue_; | |||
bool started_; | |||
static constexpr uint8_t BLE_EVENT_THREAD_PRIORITY = OS_THREAD_PRIORITY_NETWORK; | |||
static constexpr uint8_t BLE_EVENT_THREAD_PRIORITY = OS_THREAD_PRIORITY_NETWORK - 1; // IMPORTANT: below network for coexistence to work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any thread managing WiFi would effectively be higher priority than the BLE thread?
if (r == GAP_CAUSE_SUCCESS) { | ||
LOCAL_DEBUG("wait GAP_SCAN_STATE_IDLE"); | ||
if (!waitState(BleGapDevState().scan(GAP_SCAN_STATE_IDLE))) { | ||
// IMPORTANT: have to poll here, for some reason we may not get notified |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this have anything to do with missing events/interrupts from the SDK?
TODO