Ejemplo n.º 1
0
VOID
Sta11ResetStep4(
    __in  PSTATION        pStation,
    __in  MP_RESET_TYPE   ResetType
    )
{
    MP_CLEAR_FLAG(pStation, STA_RESET_IN_PROGRESS);

    //
    // Start scanning 
    //
    StaStartPeriodicScan(pStation);
    
    if (ResetType == MP_RESET_TYPE_NDIS_RESET)
    {
        //
        // Restart beaconing. NDIS Reset should stop beacons & probes only temporarily
        //
//        Hw11StartBSSAdvertisment(pStation->pNic);

        //
        // Here we could reestablish the connection. However,
        // to reduce state to be maintained, we indicated 
        // disconnect and let the OS reestablish the connection
        //
    }
}
Ejemplo n.º 2
0
NDIS_STATUS
Sta11StartStation(
    __in  PSTATION        pStation
    )
{
    pStation->BSSList.MaxNumOfBSSEntries = pStation->RegInfo.BSSEntryMaxCount;

    StaStartPeriodicScan(pStation);

    return NDIS_STATUS_SUCCESS;
}
Ejemplo n.º 3
0
NDIS_STATUS
Sta11RestartPort(
    _In_  PMP_PORT                Port
    )
{
    PMP_EXTSTA_PORT             extStaPort = MP_GET_STA_PORT(Port);

    StaStartPeriodicScan(extStaPort);

    // Restart beaconing if we were beaconing before the pause
    if (extStaPort->Config.BSSType == dot11_BSS_type_independent && Port->CurrentOpState == OP_STATE)
    {
        // BUGBUG: What if the start beaconing fails?
        StaStartAdHocBeaconing(extStaPort);
    }
    
    return BasePortRestartPort(Port);
}