Lines Matching full:ess
40 #ifdef ESS
43 static const char ID_sccs[] = "@(#)ess.c 1.10 96/02/23 (C) SK" ;
106 * End Station Support (ESS)
117 struct smt_p_0016 *cmd ; /* para: command for the ESS */ in ess_raf_received_pack()
133 DB_ESS("ESS: RAF frame error, parameter type not found"); in ess_raf_received_pack()
139 * get the pointer to the ESS command in ess_raf_received_pack()
143 * error in frame: para ESS command was not found in ess_raf_received_pack()
145 DB_ESS("ESS: RAF frame error, parameter command not found"); in ess_raf_received_pack()
157 * evaluate the ESS command in ess_raf_received_pack()
162 * Process an ESS Allocation Request in ess_raf_received_pack()
185 * The ESS do not send the Frame to the network! in ess_raf_received_pack()
187 smc->ess.alloc_trans_id = sm->smt_tid ; in ess_raf_received_pack()
188 DB_ESS("ESS: save Alloc Req Trans ID %x", sm->smt_tid); in ess_raf_received_pack()
197 if (smc->ess.local_sba_active) in ess_raf_received_pack()
219 DB_ESS("ESS: RAF with para problem, ignoring"); in ess_raf_received_pack()
238 (sm->smt_tid != smc->ess.alloc_trans_id)) { in ess_raf_received_pack()
240 DB_ESS("ESS: Allocation Response not accepted"); in ess_raf_received_pack()
249 printk(KERN_ERR "ESS: sm_to_para failed"); in ess_raf_received_pack()
255 printk(KERN_ERR "ESS: sm_to_para failed"); in ess_raf_received_pack()
272 * Process an ESS Change Request in ess_raf_received_pack()
279 DB_ESS("ESS: Do not process Change Responses"); in ess_raf_received_pack()
287 DB_ESS("ESS: RAF with para problem, ignoring"); in ess_raf_received_pack()
299 DB_ESS("ESS: RAF frame with para problem, ignoring"); in ess_raf_received_pack()
311 DB_ESSN(2, "ESS: Change Request from %pM", in ess_raf_received_pack()
338 DB_ESS("ESS: Do not process a Report Reply"); in ess_raf_received_pack()
342 DB_ESSN(2, "ESS: Report Request from %pM", in ess_raf_received_pack()
349 DB_ESS("ESS: ignoring RAF with para problem"); in ess_raf_received_pack()
365 DB_ESS("ESS: ignoring RAF with bad sba_cmd"); in ess_raf_received_pack()
418 DB_ESS("ESS: SMT does not accept the payload value"); in process_bw_alloc()
422 DB_ESS("ESS: SMT does not accept the overhead value"); in process_bw_alloc()
428 DB_ESS("ESS: payload / overhead not accepted"); in process_bw_alloc()
439 smc->ess.raf_act_timer_poll = TRUE ; in process_bw_alloc()
440 smc->ess.timer_count = 0 ; in process_bw_alloc()
447 DB_ESSN(2, "ESS: turn SMT_ST_SYNC_SERVICE bit on"); in process_bw_alloc()
448 smc->ess.sync_bw_available = TRUE ; in process_bw_alloc()
450 smc->ess.sync_bw = overhead - in process_bw_alloc()
455 DB_ESSN(2, "ESS: turn SMT_ST_SYNC_SERVICE bit off"); in process_bw_alloc()
456 smc->ess.sync_bw_available = FALSE ; in process_bw_alloc()
457 smc->ess.sync_bw = 0 ; in process_bw_alloc()
465 DB_ESSN(2, "tsync = %lx", smc->ess.sync_bw); in process_bw_alloc()
468 set_formac_tsync(smc,smc->ess.sync_bw) ; in process_bw_alloc()
539 if (!smc->ess.raf_act_timer_poll) in ess_timer_poll()
542 DB_ESSN(2, "ESS: timer_poll"); in ess_timer_poll()
544 smc->ess.timer_count++ ; in ess_timer_poll()
545 if (smc->ess.timer_count == 10) { in ess_timer_poll()
546 smc->ess.timer_count = 0 ; in ess_timer_poll()
573 smc->ess.raf_act_timer_poll = FALSE ; in ess_send_alc_req()
574 smc->ess.timer_count = 7 ; /* next RAF alc req after 3 s */ in ess_send_alc_req()
585 req->smt.smt_tid = smc->ess.alloc_trans_id = smt_get_tid(smc) ; in ess_send_alc_req()
662 * check if the frame must be send to the own ESS in ess_send_frame()
664 if (smc->ess.local_sba_active) { in ess_send_frame()
668 DB_ESS("ESS:Send to the local SBA"); in ess_send_frame()
669 if (!smc->ess.sba_reply_pend) in ess_send_frame()
670 smc->ess.sba_reply_pend = mb ; in ess_send_frame()
680 DB_ESS("ESS:Send to the network"); in ess_send_frame()
715 #endif /* ESS */