UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2015 - January 2016

Review exercises (DSP)

Previous activities

1.  Array processing

Resources

  • Program created in a previous activity in which a menu with various options was implemented.

Work Plan

Using the code for the program with the menu, make the following modifications:

  1. Add an implement a new menu option that prints the ratio of current quality level to maximum quality level for a given access point. The prototype of the implemented function must be float quality_ratio(struct ap_scan_info ap);.

  2. Add an implement a new menu option that allows the user to edit the current quality of a given access point. The prototype of the implemented function must be void swap_quality(struct ap_scan_info *ap, unsigned int *quality);.

  3. Add an implement a new menu option that prints the MAC address of the access point with the highest quality. The prototype of the implemented function must be void print_best_quality(struct ap_scan_info *array);.

How long did this activity take you? mins.